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_RL.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_RL,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL",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.308/1.308, allocations: 285.5 MB / 292.8 MB, free: 10.48 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.0009128/0.0009132, allocations: 175.2 kB / 361.1 MB, free: 7.105 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.016/1.016, allocations: 205.1 MB / 0.6195 GB, free: 10.33 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.0007488/0.0007488, allocations: 90.92 kB / 0.7325 GB, free: 44.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1736/0.1744, allocations: 121.4 MB / 0.8512 GB, free: 2.898 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4098/0.5843, allocations: 115.3 MB / 0.9638 GB, free: 77.99 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.164/0.7483, allocations: 180.5 MB / 1.14 GB, free: 7.414 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000221/0.7486, allocations: 92.55 kB / 1.14 GB, free: 7.324 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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.06701/0.8156, allocations: 31.6 MB / 1.171 GB, free: 7.523 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.363e-05/0.8157, allocations: 12.48 kB / 1.171 GB, free: 7.512 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001339/0.817, allocations: 198.9 kB / 1.171 GB, free: 7.316 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009425/0.818, allocations: 495.9 kB / 1.172 GB, free: 6.793 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.881e-05/0.818, allocations: 16 kB / 1.172 GB, free: 6.777 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001791/0.8182, allocations: 32 kB / 1.172 GB, free: 6.746 MB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008101/0.819, allocations: 478.1 kB / 1.172 GB, free: 6.277 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009166/0.82, allocations: 0.8027 MB / 1.173 GB, free: 5.367 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.084e-05/0.82, allocations: 3.938 kB / 1.173 GB, free: 5.363 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.958e-05/0.82, allocations: 4 kB / 1.173 GB, free: 5.359 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-05/0.8201, allocations: 48.97 kB / 1.173 GB, free: 5.309 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003654/0.8238, allocations: 4.5 MB / 1.177 GB, free: 492 kB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003239/0.8241, allocations: 279.6 kB / 1.178 GB, free: 204 kB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002521/0.8244, allocations: 224.8 kB / 1.178 GB, free: 15.98 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 2.522e-05/0.8244, allocations: 0 / 1.178 GB, free: 15.98 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.075e-05/0.8244, allocations: 34.56 kB / 1.178 GB, free: 15.93 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=33): time 1.233e-06/0.8244, allocations: 0 / 1.178 GB, free: 15.93 MB / 0.7917 GB Notification: Performance of matching and sorting (n=40): time 0.003552/0.828, allocations: 2.02 MB / 1.18 GB, free: 13.82 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.342e-05/0.828, allocations: 55.41 kB / 1.18 GB, free: 13.76 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002918/0.8283, allocations: 333 kB / 1.18 GB, free: 13.43 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 2.94e-05/0.8284, allocations: 25.7 kB / 1.18 GB, free: 13.4 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001229/0.8285, allocations: 283.7 kB / 1.181 GB, free: 13.11 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 8.859e-05/0.8286, allocations: 147.4 kB / 1.181 GB, free: 12.97 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.819e-05/0.8286, allocations: 0 / 1.181 GB, free: 12.97 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 9.936e-05/0.8287, allocations: 358.6 kB / 1.181 GB, free: 12.61 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002828/0.829, allocations: 225.2 kB / 1.181 GB, free: 12.39 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003536/0.8294, allocations: 376.1 kB / 1.182 GB, free: 11.96 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003525/0.8297, allocations: 281.4 kB / 1.182 GB, free: 11.68 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.8297, allocations: 3.984 kB / 1.182 GB, free: 11.68 MB / 0.7917 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001407/0.8311, allocations: 0.844 MB / 1.183 GB, free: 10.82 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.8312, allocations: 4 kB / 1.183 GB, free: 10.82 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.8312, allocations: 4 kB / 1.183 GB, free: 10.81 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007501/0.8319, allocations: 222.5 kB / 1.183 GB, free: 10.59 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004784/0.8324, allocations: 107.8 kB / 1.183 GB, free: 10.48 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003937/0.8364, allocations: 4.627 MB / 1.188 GB, free: 5.516 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003553/0.8367, allocations: 11.98 kB / 1.188 GB, free: 5.504 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.869e-05/0.8368, allocations: 20.06 kB / 1.188 GB, free: 5.484 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 52 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001088/0.8369, allocations: 124.7 kB / 1.188 GB, free: 5.355 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.254e-05/0.837, allocations: 56.94 kB / 1.188 GB, free: 5.301 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001283/0.8383, allocations: 0.742 MB / 1.188 GB, free: 4.539 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.8383, allocations: 7.906 kB / 1.188 GB, free: 4.531 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.8383, allocations: 6.312 kB / 1.188 GB, free: 4.527 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.8383, allocations: 3.984 kB / 1.188 GB, free: 4.523 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00201/0.8403, allocations: 1.378 MB / 1.19 GB, free: 3.07 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.96e-06/0.8404, allocations: 11.92 kB / 1.19 GB, free: 3.059 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003627/0.8407, allocations: 55.97 kB / 1.19 GB, free: 3.004 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006491/0.8414, allocations: 206.4 kB / 1.19 GB, free: 2.793 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.836e-05/0.8414, allocations: 4 kB / 1.19 GB, free: 2.789 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003671/0.8451, allocations: 4.54 MB / 1.195 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.8451, allocations: 4 kB / 1.195 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001573/0.8467, allocations: 1.194 MB / 1.196 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001974/0.8487, allocations: 1.891 MB / 1.198 GB, free: 10.63 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001993/0.8489, allocations: 164.5 kB / 1.198 GB, free: 10.45 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.633e-05/0.849, allocations: 7.906 kB / 1.198 GB, free: 10.44 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002947/0.8493, allocations: 11.98 kB / 1.198 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.678e-05/0.8493, allocations: 21.84 kB / 1.198 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.817e-05/0.8494, allocations: 15.98 kB / 1.198 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.0002366/0.8496, allocations: 251.2 kB / 1.198 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.001152/0.8508, allocations: 148 kB / 1.198 GB, free: 10 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 27 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001527/0.8509, allocations: 123.2 kB / 1.198 GB, free: 9.875 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.001309/0.8522, allocations: 0.9184 MB / 1.199 GB, free: 8.93 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.8523, allocations: 0 / 1.199 GB, free: 8.93 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0008099/0.8531, allocations: 0.6225 MB / 1.2 GB, free: 8.277 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006578/0.8537, allocations: 144.5 kB / 1.2 GB, free: 8.148 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001572/0.8553, allocations: 0.9464 MB / 1.201 GB, free: 7.156 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004979/0.8558, allocations: 0.9915 MB / 1.202 GB, free: 6.133 MB / 0.8073 GB Notification: Performance of SimCode: time 2.5e-07/0.8558, allocations: 4 kB / 1.202 GB, free: 6.129 MB / 0.8073 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1)