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_RL.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_RL,fileNamePrefix="Buildings_8_0_0_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_8_0_0_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.0/package.mo): time 2.147/2.147, allocations: 284.8 MB / 292.1 MB, free: 10.75 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.001584/0.001583, allocations: 177.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.628/1.628, allocations: 205.1 MB / 0.6187 GB, free: 13.2 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.00121/0.001209, allocations: 97.44 kB / 0.7317 GB, free: 45.11 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2444/0.2457, allocations: 121.4 MB / 0.8502 GB, free: 3.902 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5432/0.7889, allocations: 115.2 MB / 0.9628 GB, free: 78.22 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2653/1.054, allocations: 180.3 MB / 1.139 GB, free: 8.438 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003564/1.055, allocations: 92.64 kB / 1.139 GB, free: 8.348 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.1242/1.179, allocations: 31.61 MB / 1.17 GB, free: 8.535 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/1.179, allocations: 8.5 kB / 1.17 GB, free: 8.527 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002386/1.181, allocations: 193.4 kB / 1.17 GB, free: 8.34 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001594/1.183, allocations: 0.4921 MB / 1.17 GB, free: 7.809 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.836e-05/1.183, allocations: 16 kB / 1.171 GB, free: 7.793 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000228/1.183, allocations: 36 kB / 1.171 GB, free: 7.758 MB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00142/1.185, allocations: 474.1 kB / 1.171 GB, free: 7.293 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001747/1.186, allocations: 0.8026 MB / 1.172 GB, free: 6.383 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.982e-05/1.186, allocations: 4 kB / 1.172 GB, free: 6.379 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.384e-05/1.187, allocations: 4 kB / 1.172 GB, free: 6.375 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.113e-05/1.187, allocations: 48.97 kB / 1.172 GB, free: 6.324 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007105/1.194, allocations: 4.493 MB / 1.176 GB, free: 1.5 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006779/1.195, allocations: 275 kB / 1.176 GB, free: 1.223 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000528/1.195, allocations: 224.8 kB / 1.177 GB, free: 1 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.523e-05/1.195, allocations: 4 kB / 1.177 GB, free: 0.9961 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.703e-05/1.195, allocations: 38.56 kB / 1.177 GB, free: 0.9492 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=33): time 3.396e-06/1.195, allocations: 0 / 1.177 GB, free: 0.9492 MB / 0.7761 GB Notification: Performance of matching and sorting (n=40): time 0.007114/1.202, allocations: 2.026 MB / 1.179 GB, free: 14.84 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.122e-05/1.202, allocations: 59.34 kB / 1.179 GB, free: 14.77 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005846/1.203, allocations: 333 kB / 1.179 GB, free: 14.44 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 5.233e-05/1.203, allocations: 25.7 kB / 1.179 GB, free: 14.41 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002127/1.203, allocations: 279.7 kB / 1.179 GB, free: 14.12 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001635/1.203, allocations: 145.9 kB / 1.18 GB, free: 13.98 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.419e-05/1.204, allocations: 0 / 1.18 GB, free: 13.98 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001796/1.204, allocations: 362.7 kB / 1.18 GB, free: 13.62 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005921/1.204, allocations: 221.2 kB / 1.18 GB, free: 13.4 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007246/1.205, allocations: 376.1 kB / 1.18 GB, free: 12.97 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007324/1.206, allocations: 289.4 kB / 1.181 GB, free: 12.69 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/1.206, allocations: 0 / 1.181 GB, free: 12.69 MB / 0.7917 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002922/1.209, allocations: 0.8396 MB / 1.182 GB, free: 11.83 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.487e-05/1.209, allocations: 8.766 kB / 1.182 GB, free: 11.82 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.637e-05/1.209, allocations: 4.562 kB / 1.182 GB, free: 11.82 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001427/1.21, allocations: 222.4 kB / 1.182 GB, free: 11.59 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009999/1.211, allocations: 103.8 kB / 1.182 GB, free: 11.49 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007463/1.219, allocations: 4.633 MB / 1.186 GB, free: 6.523 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008348/1.22, allocations: 11.98 kB / 1.186 GB, free: 6.512 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.157e-05/1.22, allocations: 20.06 kB / 1.186 GB, free: 6.492 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.0001906/1.22, allocations: 119.2 kB / 1.187 GB, free: 6.371 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001354/1.22, allocations: 55.34 kB / 1.187 GB, free: 6.316 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002628/1.223, allocations: 0.7421 MB / 1.187 GB, free: 5.555 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.133e-05/1.223, allocations: 7.906 kB / 1.187 GB, free: 5.547 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.907e-06/1.223, allocations: 4 kB / 1.187 GB, free: 5.543 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.847e-06/1.223, allocations: 7.984 kB / 1.187 GB, free: 5.535 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003978/1.227, allocations: 1.373 MB / 1.189 GB, free: 4.086 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.226e-06/1.227, allocations: 4 kB / 1.189 GB, free: 4.082 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007575/1.228, allocations: 55.91 kB / 1.189 GB, free: 4.027 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001268/1.229, allocations: 206.6 kB / 1.189 GB, free: 3.816 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.901e-05/1.229, allocations: 9.188 kB / 1.189 GB, free: 3.809 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006922/1.236, allocations: 4.542 MB / 1.193 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.434e-06/1.236, allocations: 4 kB / 1.193 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00315/1.239, allocations: 1.195 MB / 1.195 GB, free: 13.63 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004126/1.243, allocations: 1.891 MB / 1.196 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000464/1.244, allocations: 160.5 kB / 1.197 GB, free: 11.47 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001278/1.244, allocations: 7.906 kB / 1.197 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005786/1.244, allocations: 20.03 kB / 1.197 GB, free: 11.44 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.887e-05/1.245, allocations: 19.97 kB / 1.197 GB, free: 11.42 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.158e-05/1.245, allocations: 18.38 kB / 1.197 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.0004235/1.245, allocations: 245.6 kB / 1.197 GB, free: 11.17 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.001832/1.247, allocations: 152 kB / 1.197 GB, free: 11.02 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.0002322/1.247, allocations: 123.1 kB / 1.197 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.002456/1.25, allocations: 0.9174 MB / 1.198 GB, free: 9.945 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.419e-06/1.25, allocations: 0 / 1.198 GB, free: 9.945 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.001521/1.251, allocations: 0.6238 MB / 1.199 GB, free: 9.293 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001297/1.252, allocations: 136.2 kB / 1.199 GB, free: 9.168 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002974/1.255, allocations: 0.9607 MB / 1.2 GB, free: 8.168 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001055/1.257, allocations: 0.992 MB / 1.201 GB, free: 7.145 MB / 0.8073 GB Notification: Performance of SimCode: time 1.243e-06/1.257, allocations: 5.125 kB / 1.201 GB, free: 7.141 MB / 0.8073 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL.fmu > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1)