Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine",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.0/package.mo): time 2.187/2.187, allocations: 284.8 MB / 292.1 MB, free: 10.67 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.001581/0.001581, allocations: 173.3 kB / 360.3 MB, free: 7.504 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.64/1.64, allocations: 205.2 MB / 0.6187 GB, free: 13.19 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001202/0.001201, allocations: 93.88 kB / 0.7317 GB, free: 45.07 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2421/0.2433, allocations: 121.4 MB / 0.8502 GB, free: 3.871 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5528/0.7961, allocations: 115.2 MB / 0.9628 GB, free: 78.64 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2651/1.061, allocations: 178.9 MB / 1.137 GB, free: 9.82 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003691/1.062, allocations: 93.58 kB / 1.138 GB, free: 9.73 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.3045/1.366, allocations: 78.46 MB / 1.214 GB, free: 10.69 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/1.366, allocations: 12.5 kB / 1.214 GB, free: 10.68 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01995/1.386, allocations: 1.462 MB / 1.216 GB, free: 9.215 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004188/1.39, allocations: 1.157 MB / 1.217 GB, free: 8 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.71e-05/1.391, allocations: 40 kB / 1.217 GB, free: 7.961 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003824/1.391, allocations: 64 kB / 1.217 GB, free: 7.898 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004666/1.396, allocations: 1.492 MB / 1.218 GB, free: 6.402 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004962/1.401, allocations: 1.919 MB / 1.22 GB, free: 4.301 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.023e-05/1.401, allocations: 7.938 kB / 1.22 GB, free: 4.293 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002513/1.401, allocations: 4 kB / 1.22 GB, free: 4.289 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000138/1.401, allocations: 82.19 kB / 1.22 GB, free: 4.207 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02387/1.425, allocations: 9.797 MB / 1.23 GB, free: 9.766 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003724/1.429, allocations: 1.098 MB / 1.231 GB, free: 8.641 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001594/1.43, allocations: 0.5995 MB / 1.232 GB, free: 8.039 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 6.106e-05/1.431, allocations: 8.438 kB / 1.232 GB, free: 8.031 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.464e-05/1.431, allocations: 39 kB / 1.232 GB, free: 7.98 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=53): time 2.975e-06/1.431, allocations: 0 / 1.232 GB, free: 7.98 MB / 0.8386 GB Notification: Performance of matching and sorting (n=81): time 0.01649/1.447, allocations: 3.952 MB / 1.235 GB, free: 3.992 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001369/1.447, allocations: 218.3 kB / 1.236 GB, free: 3.73 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001768/1.449, allocations: 0.746 MB / 1.236 GB, free: 2.973 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0002321/1.449, allocations: 29.7 kB / 1.236 GB, free: 2.938 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004773/1.45, allocations: 0.5532 MB / 1.237 GB, free: 2.375 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003905/1.45, allocations: 272 kB / 1.237 GB, free: 2.105 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001442/1.45, allocations: 0 / 1.237 GB, free: 2.105 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001755/1.451, allocations: 337.9 kB / 1.238 GB, free: 1.77 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001952/1.453, allocations: 0.7009 MB / 1.238 GB, free: 1.066 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002098/1.455, allocations: 0.9291 MB / 1.239 GB, free: 40 kB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002446/1.457, allocations: 0.7971 MB / 1.24 GB, free: 15.24 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.144e-06/1.457, allocations: 4 kB / 1.24 GB, free: 15.24 MB / 0.8542 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.009491/1.467, allocations: 2.479 MB / 1.242 GB, free: 12.73 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.044e-05/1.467, allocations: 8.125 kB / 1.242 GB, free: 12.72 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.989e-05/1.467, allocations: 11.94 kB / 1.242 GB, free: 12.71 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005845/1.473, allocations: 0.8481 MB / 1.243 GB, free: 11.84 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004037/1.477, allocations: 331.5 kB / 1.243 GB, free: 11.51 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4203/1.897, allocations: 13.84 MB / 1.257 GB, free: 181.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004333/1.901, allocations: 199.3 kB / 1.257 GB, free: 181.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002144/1.902, allocations: 47.27 kB / 1.257 GB, free: 181.8 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(3,100.0%) 5,(3,100.0%) 5,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003765/1.902, allocations: 136.1 kB / 1.257 GB, free: 181.7 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003185/1.902, allocations: 129.8 kB / 1.257 GB, free: 181.7 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009247/1.912, allocations: 2.527 MB / 1.26 GB, free: 181.6 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.324e-05/1.912, allocations: 7.688 kB / 1.26 GB, free: 181.6 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.502e-05/1.912, allocations: 10.19 kB / 1.26 GB, free: 181.6 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.074e-05/1.912, allocations: 3.703 kB / 1.26 GB, free: 181.6 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01239/1.924, allocations: 4.085 MB / 1.264 GB, free: 181.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.128e-05/1.924, allocations: 3.75 kB / 1.264 GB, free: 181.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00345/1.928, allocations: 283 kB / 1.264 GB, free: 181.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004839/1.933, allocations: 0.7693 MB / 1.265 GB, free: 181.1 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002022/1.933, allocations: 18.28 kB / 1.265 GB, free: 181.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01892/1.952, allocations: 13.38 MB / 1.278 GB, free: 171.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.147e-06/1.952, allocations: 8.594 kB / 1.278 GB, free: 171.6 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007903/1.96, allocations: 2.46 MB / 1.28 GB, free: 171.1 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.007712/1.967, allocations: 2.886 MB / 1.283 GB, free: 170.1 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001007/1.968, allocations: 385.6 kB / 1.284 GB, free: 170 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000388/1.969, allocations: 3.625 kB / 1.284 GB, free: 170 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003584/1.972, allocations: 202.1 kB / 1.284 GB, free: 170 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001319/1.973, allocations: 51.53 kB / 1.284 GB, free: 170 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001571/1.973, allocations: 37.92 kB / 1.284 GB, free: 170 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.001052/1.974, allocations: 0.5656 MB / 1.284 GB, free: 169.9 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.002766/1.977, allocations: 403.2 kB / 1.285 GB, free: 169.8 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 2,(2,100.0%) 4,(3,100.0%) 5,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(3,100.0%) 5,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004243/1.977, allocations: 131.8 kB / 1.285 GB, free: 169.8 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.006999/1.984, allocations: 2.712 MB / 1.288 GB, free: 168.9 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 7.524e-06/1.984, allocations: 2.906 kB / 1.288 GB, free: 168.9 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.004563/1.989, allocations: 1.841 MB / 1.289 GB, free: 168.1 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003146/1.992, allocations: 403.9 kB / 1.29 GB, free: 168.1 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01182/2.004, allocations: 2.617 MB / 1.292 GB, free: 167.5 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002021/2.006, allocations: 1.489 MB / 1.294 GB, free: 166.8 MB / 0.8542 GB Notification: Performance of SimCode: time 1.052e-06/2.006, allocations: 0 / 1.294 GB, free: 166.8 MB / 0.8542 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.fmu > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1)