Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.338/1.338, allocations: 285.5 MB / 292.8 MB, free: 9.824 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009318/0.0009316, allocations: 183.5 kB / 361.1 MB, free: 368 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.022/1.022, allocations: 205.1 MB / 0.6195 GB, free: 2.949 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007758/0.0007758, allocations: 96.47 kB / 0.7326 GB, free: 1.078 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.3541/0.3549, allocations: 121.5 MB / 0.8512 GB, free: 151.9 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.4997, allocations: 115.3 MB / 0.9638 GB, free: 56.28 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4476/0.9473, allocations: 153.5 MB / 1.114 GB, free: 24.01 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002058/0.9476, allocations: 87.3 kB / 1.114 GB, free: 24.01 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.04022/0.9878, allocations: 20.64 MB / 1.134 GB, free: 21.84 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.009e-05/0.9878, allocations: 7.812 kB / 1.134 GB, free: 21.84 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008474/0.9887, allocations: 140.3 kB / 1.134 GB, free: 21.81 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004684/0.9892, allocations: 381.9 kB / 1.134 GB, free: 21.56 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.9892, allocations: 7.781 kB / 1.134 GB, free: 21.56 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.559e-05/0.9892, allocations: 19.22 kB / 1.134 GB, free: 21.56 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003838/0.9896, allocations: 290.4 kB / 1.135 GB, free: 21.55 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004887/0.9901, allocations: 0.549 MB / 1.135 GB, free: 21.25 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.575e-05/0.9902, allocations: 7.938 kB / 1.135 GB, free: 21.24 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.209e-05/0.9902, allocations: 3.781 kB / 1.135 GB, free: 21.24 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.752e-05/0.9902, allocations: 38.45 kB / 1.135 GB, free: 21.24 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002083/0.9923, allocations: 3.296 MB / 1.138 GB, free: 34.58 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003918/0.9927, allocations: 294.4 kB / 1.139 GB, free: 34.55 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001625/0.9929, allocations: 160 kB / 1.139 GB, free: 34.54 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.094e-05/0.9929, allocations: 3.844 kB / 1.139 GB, free: 34.54 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.164e-05/0.9929, allocations: 36.11 kB / 1.139 GB, free: 34.5 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=26): time 3.046e-06/0.993, allocations: 3.938 kB / 1.139 GB, free: 34.5 MB / 0.7292 GB Notification: Performance of matching and sorting (n=27): time 0.0008912/0.9939, allocations: 0.5892 MB / 1.14 GB, free: 34.35 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.256e-05/0.9939, allocations: 51.64 kB / 1.14 GB, free: 34.29 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001916/0.9941, allocations: 258.7 kB / 1.14 GB, free: 34.18 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.055e-05/0.9941, allocations: 25.7 kB / 1.14 GB, free: 34.14 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.308e-05/0.9942, allocations: 209.5 kB / 1.14 GB, free: 33.99 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.54e-05/0.9942, allocations: 93.3 kB / 1.14 GB, free: 33.93 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.419e-05/0.9943, allocations: 0 / 1.14 GB, free: 33.93 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.000118/0.9944, allocations: 343.1 kB / 1.14 GB, free: 33.62 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001445/0.9945, allocations: 126.8 kB / 1.141 GB, free: 33.61 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001697/0.9947, allocations: 253.1 kB / 1.141 GB, free: 33.46 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001787/0.9949, allocations: 169.5 kB / 1.141 GB, free: 33.45 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.9949, allocations: 4 kB / 1.141 GB, free: 33.45 MB / 0.7292 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006086/0.9955, allocations: 493 kB / 1.141 GB, free: 33.35 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.012e-05/0.9955, allocations: 8 kB / 1.141 GB, free: 33.34 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.9956, allocations: 3.844 kB / 1.141 GB, free: 33.34 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002512/0.9958, allocations: 83.61 kB / 1.142 GB, free: 33.32 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003135/0.9961, allocations: 85.64 kB / 1.142 GB, free: 33.31 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.9962, allocations: 13.16 kB / 1.142 GB, free: 33.31 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002348/0.9964, allocations: 25.59 kB / 1.142 GB, free: 33.3 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.357e-05/0.9964, allocations: 14.94 kB / 1.142 GB, free: 33.3 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 8.693e-05/0.9965, allocations: 113.2 kB / 1.142 GB, free: 33.19 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.225e-05/0.9966, allocations: 31.25 kB / 1.142 GB, free: 33.18 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005681/0.9971, allocations: 427.8 kB / 1.142 GB, free: 33.09 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.9972, allocations: 3.875 kB / 1.142 GB, free: 33.09 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.9972, allocations: 0 / 1.142 GB, free: 33.09 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.9972, allocations: 1.594 kB / 1.142 GB, free: 33.09 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009795/0.9982, allocations: 0.884 MB / 1.143 GB, free: 32.76 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.215e-06/0.9982, allocations: 0 / 1.143 GB, free: 32.76 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002254/0.9984, allocations: 52.56 kB / 1.143 GB, free: 32.76 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002075/0.9986, allocations: 79.56 kB / 1.143 GB, free: 32.73 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.738e-05/0.9987, allocations: 7.969 kB / 1.143 GB, free: 32.73 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.063e-06/0.9987, allocations: 0 / 1.143 GB, free: 32.73 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.9987, allocations: 5.578 kB / 1.143 GB, free: 32.73 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000519/0.9992, allocations: 0.5407 MB / 1.144 GB, free: 32.47 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005977/0.9998, allocations: 0.9288 MB / 1.145 GB, free: 31.84 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001128/0.9999, allocations: 130.2 kB / 1.145 GB, free: 31.73 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.25e-05/1, allocations: 8.734 kB / 1.145 GB, free: 31.72 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002245/1, allocations: 25.52 kB / 1.145 GB, free: 31.71 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.821e-05/1, allocations: 8.656 kB / 1.145 GB, free: 31.71 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-05/1, allocations: 12.17 kB / 1.145 GB, free: 31.71 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0001276/1, allocations: 193.1 kB / 1.145 GB, free: 31.64 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0009679/1.001, allocations: 90.2 kB / 1.145 GB, free: 31.63 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001207/1.002, allocations: 108.6 kB / 1.145 GB, free: 31.54 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004942/1.002, allocations: 0.588 MB / 1.146 GB, free: 31.21 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/1.002, allocations: 0 / 1.146 GB, free: 31.21 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002807/1.002, allocations: 417.7 kB / 1.146 GB, free: 30.89 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004972/1.003, allocations: 95.05 kB / 1.146 GB, free: 30.88 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007592/1.004, allocations: 0.5166 MB / 1.147 GB, free: 30.68 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000393/1.004, allocations: 0.8729 MB / 1.148 GB, free: 29.96 MB / 0.7292 GB Notification: Performance of SimCode: time 3.7e-07/1.004, allocations: 0 / 1.148 GB, free: 29.96 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1)