Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",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 7.0.3-maint.7.0.x/package.mo): time 1.24/1.24, allocations: 249.4 MB / 256.7 MB, free: 7.023 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001057/0.001057, allocations: 189.2 kB / 316 MB, free: 3.531 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.197/1.197, allocations: 205.2 MB / 0.5667 GB, free: 15.66 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008891/0.000889, allocations: 93.5 kB / 0.671 GB, free: 4.793 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3564/0.3573, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1642/0.5215, allocations: 106.3 MB / 0.8847 GB, free: 12.55 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4983/1.02, allocations: 155.3 MB / 1.036 GB, free: 0.9102 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003132/1.02, allocations: 93.05 kB / 1.036 GB, free: 0.8594 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.08418/1.104, allocations: 37.18 MB / 1.073 GB, free: 1.707 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/1.105, allocations: 12 kB / 1.073 GB, free: 1.695 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001672/1.106, allocations: 230 kB / 1.073 GB, free: 1.473 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009759/1.107, allocations: 0.5301 MB / 1.073 GB, free: 0.9609 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.618e-05/1.107, allocations: 20 kB / 1.073 GB, free: 0.9414 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001155/1.107, allocations: 39.91 kB / 1.073 GB, free: 0.9023 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009718/1.108, allocations: 0.5622 MB / 1.074 GB, free: 0.5312 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001536/1.11, allocations: 1.008 MB / 1.075 GB, free: 15.59 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.285e-05/1.11, allocations: 7.938 kB / 1.075 GB, free: 15.58 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.979e-05/1.11, allocations: 4 kB / 1.075 GB, free: 15.58 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.365e-05/1.11, allocations: 60.83 kB / 1.075 GB, free: 15.52 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005431/1.116, allocations: 5.67 MB / 1.081 GB, free: 9.938 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004446/1.116, allocations: 395.4 kB / 1.081 GB, free: 9.672 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003364/1.116, allocations: 295.3 kB / 1.081 GB, free: 9.488 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.597e-05/1.116, allocations: 7.938 kB / 1.081 GB, free: 9.48 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.093e-05/1.116, allocations: 44.97 kB / 1.081 GB, free: 9.434 MB / 0.698 GB Notification: Performance of pre-optimization done (n=41): time 2.925e-06/1.116, allocations: 4 kB / 1.081 GB, free: 9.43 MB / 0.698 GB Notification: Performance of matching and sorting (n=42): time 0.002357/1.119, allocations: 1.126 MB / 1.082 GB, free: 8.535 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.328e-05/1.119, allocations: 59.19 kB / 1.082 GB, free: 8.465 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004029/1.119, allocations: 321.6 kB / 1.083 GB, free: 8.211 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.22e-05/1.119, allocations: 25.7 kB / 1.083 GB, free: 8.18 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001876/1.12, allocations: 333 kB / 1.083 GB, free: 7.879 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001769/1.12, allocations: 149.9 kB / 1.083 GB, free: 7.75 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.319e-05/1.12, allocations: 3.938 kB / 1.083 GB, free: 7.746 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001342/1.12, allocations: 359 kB / 1.084 GB, free: 7.406 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002909/1.12, allocations: 222.1 kB / 1.084 GB, free: 7.27 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003717/1.121, allocations: 403 kB / 1.084 GB, free: 6.879 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003577/1.121, allocations: 304.3 kB / 1.085 GB, free: 6.672 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/1.121, allocations: 0 / 1.085 GB, free: 6.672 MB / 0.698 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00159/1.123, allocations: 0.9041 MB / 1.085 GB, free: 5.949 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/1.123, allocations: 4 kB / 1.085 GB, free: 5.945 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/1.123, allocations: 8 kB / 1.085 GB, free: 5.934 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009621/1.124, allocations: 279 kB / 1.086 GB, free: 5.699 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000353/1.124, allocations: 94.27 kB / 1.086 GB, free: 5.609 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005708/1.13, allocations: 6.216 MB / 1.092 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003717/1.13, allocations: 8 kB / 1.092 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.946e-05/1.13, allocations: 27.61 kB / 1.092 GB, free: 15.43 MB / 0.7136 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 (51): * Single equations (assignments): 47 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(3,88.9%) 5,(1,100.0%) 5,(1,100.0%) 3,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000123/1.13, allocations: 124.5 kB / 1.092 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.982e-05/1.13, allocations: 55.34 kB / 1.092 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001489/1.132, allocations: 0.8162 MB / 1.093 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/1.132, allocations: 4 kB / 1.093 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.757e-06/1.132, allocations: 7.938 kB / 1.093 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/1.132, allocations: 3.984 kB / 1.093 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002366/1.134, allocations: 1.525 MB / 1.094 GB, free: 13.37 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/1.134, allocations: 0 / 1.094 GB, free: 13.37 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001961/1.134, allocations: 43.91 kB / 1.094 GB, free: 13.33 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00086/1.135, allocations: 275 kB / 1.095 GB, free: 13.1 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.992e-05/1.135, allocations: 4.062 kB / 1.095 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005399/1.141, allocations: 6.196 MB / 1.101 GB, free: 6.969 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/1.141, allocations: 7.984 kB / 1.101 GB, free: 6.961 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001466/1.142, allocations: 0.984 MB / 1.102 GB, free: 6.082 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001645/1.144, allocations: 1.377 MB / 1.103 GB, free: 4.824 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002405/1.144, allocations: 170.6 kB / 1.103 GB, free: 4.656 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.583e-05/1.144, allocations: 4 kB / 1.103 GB, free: 4.652 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000261/1.145, allocations: 7.984 kB / 1.103 GB, free: 4.645 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.623e-05/1.145, allocations: 30.5 kB / 1.103 GB, free: 4.617 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.871e-05/1.145, allocations: 10.88 kB / 1.103 GB, free: 4.609 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0002488/1.145, allocations: 240.8 kB / 1.103 GB, free: 4.426 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001303/1.146, allocations: 164.8 kB / 1.104 GB, free: 4.266 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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): 21 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 2,(1,100.0%) 3,(1,100.0%) 5,(3,88.9%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001766/1.146, allocations: 115.1 kB / 1.104 GB, free: 4.145 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001678/1.148, allocations: 1.054 MB / 1.105 GB, free: 3.242 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/1.148, allocations: 128 / 1.105 GB, free: 3.242 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001127/1.149, allocations: 0.7581 MB / 1.105 GB, free: 2.543 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008692/1.15, allocations: 162.9 kB / 1.106 GB, free: 2.406 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002182/1.152, allocations: 0.9001 MB / 1.107 GB, free: 1.566 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008871/1.153, allocations: 1.025 MB / 1.108 GB, free: 0.5234 MB / 0.7136 GB Notification: Performance of SimCode: time 7.22e-07/1.153, allocations: 0 / 1.108 GB, free: 0.5234 MB / 0.7136 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1)