Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.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.Lines.Examples.ACLine,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.34/1.34, allocations: 285.5 MB / 292.8 MB, free: 9.727 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.0009004/0.0009006, allocations: 179.4 kB / 361.1 MB, free: 340 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.027/1.027, allocations: 205.2 MB / 0.6195 GB, free: 2.844 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.0007486/0.0007486, allocations: 81.14 kB / 0.7326 GB, free: 0.9883 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.3574/0.3582, allocations: 121.5 MB / 0.8512 GB, free: 151.9 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1508/0.509, allocations: 115.3 MB / 0.9638 GB, free: 56.23 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4491/0.9581, allocations: 179.1 MB / 1.139 GB, free: 32.05 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002187/0.9584, allocations: 97.34 kB / 1.139 GB, free: 32.05 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: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.1618/1.12, allocations: 78.44 MB / 1.215 GB, free: 6.883 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.365e-05/1.12, allocations: 8.781 kB / 1.215 GB, free: 6.883 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01002/1.13, allocations: 1.467 MB / 1.217 GB, free: 6.277 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002651/1.133, allocations: 1.148 MB / 1.218 GB, free: 5.684 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.454e-05/1.133, allocations: 45.25 kB / 1.218 GB, free: 5.676 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003385/1.133, allocations: 70.36 kB / 1.218 GB, free: 5.672 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00277/1.136, allocations: 1.489 MB / 1.22 GB, free: 5.512 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003013/1.139, allocations: 1.914 MB / 1.221 GB, free: 4.664 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.072e-05/1.139, allocations: 11.62 kB / 1.221 GB, free: 4.656 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001698/1.139, allocations: 5.188 kB / 1.221 GB, free: 4.656 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.338e-05/1.139, allocations: 83.5 kB / 1.221 GB, free: 4.641 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01231/1.152, allocations: 9.777 MB / 1.231 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001783/1.154, allocations: 1.101 MB / 1.232 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008076/1.154, allocations: 0.6034 MB / 1.233 GB, free: 10.93 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.075e-05/1.154, allocations: 12.42 kB / 1.233 GB, free: 10.92 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.206e-05/1.155, allocations: 39 kB / 1.233 GB, free: 10.87 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=53): time 3.156e-06/1.155, allocations: 3.938 kB / 1.233 GB, free: 10.86 MB / 0.7292 GB Notification: Performance of matching and sorting (n=81): time 0.008606/1.163, allocations: 3.947 MB / 1.237 GB, free: 6.902 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.725e-05/1.163, allocations: 222.3 kB / 1.237 GB, free: 6.637 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009552/1.164, allocations: 0.7422 MB / 1.238 GB, free: 5.883 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.233e-05/1.164, allocations: 25.7 kB / 1.238 GB, free: 5.852 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002755/1.165, allocations: 0.5493 MB / 1.238 GB, free: 5.293 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002276/1.165, allocations: 275.9 kB / 1.238 GB, free: 5.02 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.371e-05/1.165, allocations: 0 / 1.238 GB, free: 5.02 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.658e-05/1.165, allocations: 338 kB / 1.239 GB, free: 4.684 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008898/1.166, allocations: 0.7048 MB / 1.239 GB, free: 3.977 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00105/1.167, allocations: 0.9321 MB / 1.24 GB, free: 2.945 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001225/1.168, allocations: 0.7933 MB / 1.241 GB, free: 2.152 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.266e-06/1.168, allocations: 8 kB / 1.241 GB, free: 2.145 MB / 0.7292 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.004853/1.173, allocations: 2.486 MB / 1.243 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/1.173, allocations: 11.27 kB / 1.243 GB, free: 15.63 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/1.173, allocations: 8 kB / 1.243 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003002/1.176, allocations: 0.8383 MB / 1.244 GB, free: 14.76 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0018/1.178, allocations: 339.4 kB / 1.245 GB, free: 14.43 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01331/1.191, allocations: 13.83 MB / 1.258 GB, free: 15.68 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002155/1.193, allocations: 207.8 kB / 1.258 GB, free: 15.48 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001774/1.194, allocations: 47.97 kB / 1.258 GB, free: 15.43 MB / 0.7605 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.000271/1.194, allocations: 128.7 kB / 1.259 GB, free: 15.3 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002975/1.194, allocations: 130.5 kB / 1.259 GB, free: 15.17 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005285/1.2, allocations: 2.528 MB / 1.261 GB, free: 12.62 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/1.2, allocations: 8 kB / 1.261 GB, free: 12.61 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.682e-05/1.2, allocations: 11.98 kB / 1.261 GB, free: 12.6 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.338e-06/1.2, allocations: 3.984 kB / 1.261 GB, free: 12.59 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00734/1.207, allocations: 4.084 MB / 1.265 GB, free: 8.438 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/1.207, allocations: 0 / 1.265 GB, free: 8.438 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001603/1.209, allocations: 291.9 kB / 1.265 GB, free: 8.152 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002702/1.211, allocations: 0.7682 MB / 1.266 GB, free: 7.359 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.656e-05/1.211, allocations: 19.97 kB / 1.266 GB, free: 7.34 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01221/1.224, allocations: 13.39 MB / 1.279 GB, free: 9.051 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/1.224, allocations: 0 / 1.279 GB, free: 9.051 MB / 0.7761 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004222/1.228, allocations: 2.462 MB / 1.282 GB, free: 6.473 MB / 0.7761 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004396/1.232, allocations: 2.884 MB / 1.284 GB, free: 3.469 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007076/1.233, allocations: 383.3 kB / 1.285 GB, free: 3.074 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003149/1.233, allocations: 4 kB / 1.285 GB, free: 3.07 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00179/1.235, allocations: 199.7 kB / 1.285 GB, free: 2.875 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.91e-05/1.235, allocations: 48.59 kB / 1.285 GB, free: 2.824 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001119/1.235, allocations: 44.06 kB / 1.285 GB, free: 2.781 MB / 0.7761 GB Notification: Performance of sort global known variables: time 0.0007714/1.236, allocations: 0.5602 MB / 1.286 GB, free: 2.215 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.002015/1.238, allocations: 404 kB / 1.286 GB, free: 1.82 MB / 0.7761 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.000273/1.238, allocations: 142.5 kB / 1.286 GB, free: 1.676 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.004039/1.242, allocations: 2.709 MB / 1.289 GB, free: 14.89 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/1.242, allocations: 0 / 1.289 GB, free: 14.89 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.002697/1.245, allocations: 1.844 MB / 1.291 GB, free: 12.96 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0016/1.247, allocations: 405.4 kB / 1.291 GB, free: 12.57 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006587/1.253, allocations: 2.615 MB / 1.294 GB, free: 9.883 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001381/1.255, allocations: 1.495 MB / 1.295 GB, free: 8.355 MB / 0.7917 GB Notification: Performance of SimCode: time 3.9e-07/1.255, allocations: 0 / 1.295 GB, free: 8.355 MB / 0.7917 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1)