Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.QfURegulation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSysPro.Tests.QfURegulation,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_QfURegulation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.QfURegulation,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_QfURegulation",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/Complex 4.0.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 188.7 kB / 7.844 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.164/1.164, allocations: 221.4 MB / 229.7 MB, free: 3.07 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009319/0.000932, allocations: 88.75 kB / 280.5 MB, free: 1.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.0342/0.0342, allocations: 8.101 MB / 339.4 MB, free: 6.348 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1669/0.2011, allocations: 58.6 MB / 398 MB, free: 67.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07729/0.2784, allocations: 52.51 MB / 450.5 MB, free: 15.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2875/0.566, allocations: 76.74 MB / 0.5149 GB, free: 1.316 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001934/0.5662, allocations: 56.34 kB / 0.5149 GB, free: 1.289 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.004901/0.5711, allocations: 1.47 MB / 0.5164 GB, free: 15.92 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.5712, allocations: 15.94 kB / 0.5164 GB, free: 15.91 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.298e-05/0.5713, allocations: 7.906 kB / 0.5164 GB, free: 15.9 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001784/0.5714, allocations: 174.9 kB / 0.5166 GB, free: 15.69 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001996/0.5716, allocations: 65.61 kB / 0.5166 GB, free: 15.62 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.839e-05/0.5717, allocations: 7.5 kB / 0.5166 GB, free: 15.62 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000181/0.5719, allocations: 72.05 kB / 0.5167 GB, free: 15.57 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000449/0.5723, allocations: 274.5 kB / 0.517 GB, free: 15.34 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.5723, allocations: 0 / 0.517 GB, free: 15.34 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.657e-05/0.5724, allocations: 0 / 0.517 GB, free: 15.34 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.085e-05/0.5724, allocations: 4 kB / 0.517 GB, free: 15.34 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004744/0.5729, allocations: 356.7 kB / 0.5173 GB, free: 14.96 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002847/0.5732, allocations: 189.2 kB / 0.5175 GB, free: 14.79 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001475/0.5733, allocations: 105.7 kB / 0.5176 GB, free: 14.71 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.005e-05/0.5734, allocations: 2.562 kB / 0.5176 GB, free: 14.71 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.653e-05/0.5734, allocations: 39.34 kB / 0.5176 GB, free: 14.66 MB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 1.263e-06/0.5734, allocations: 0 / 0.5176 GB, free: 14.66 MB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003452/0.5738, allocations: 152.1 kB / 0.5178 GB, free: 14.54 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.877e-05/0.5739, allocations: 116.1 kB / 0.5179 GB, free: 14.41 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.069e-05/0.574, allocations: 92.25 kB / 0.518 GB, free: 14.31 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.931e-05/0.574, allocations: 25.7 kB / 0.518 GB, free: 14.28 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.72e-05/0.574, allocations: 84.14 kB / 0.5181 GB, free: 14.2 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.619e-05/0.5741, allocations: 11.52 kB / 0.5181 GB, free: 14.19 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.897e-06/0.5741, allocations: 0 / 0.5181 GB, free: 14.19 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.5742, allocations: 322 kB / 0.5184 GB, free: 13.87 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.254e-05/0.5743, allocations: 15.42 kB / 0.5184 GB, free: 13.86 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.459e-05/0.5744, allocations: 97.59 kB / 0.5185 GB, free: 13.73 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.557e-05/0.5744, allocations: 42.64 kB / 0.5185 GB, free: 13.7 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.5744, allocations: 0 / 0.5185 GB, free: 13.7 MB / 346.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002082/0.5747, allocations: 110.4 kB / 0.5187 GB, free: 13.59 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.5747, allocations: 7.125 kB / 0.5187 GB, free: 13.59 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/0.5747, allocations: 7.906 kB / 0.5187 GB, free: 13.58 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.961e-05/0.5747, allocations: 4 kB / 0.5187 GB, free: 13.57 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001103/0.5748, allocations: 27.92 kB / 0.5187 GB, free: 13.55 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.5749, allocations: 4 kB / 0.5187 GB, free: 13.54 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.461e-05/0.5749, allocations: 8.344 kB / 0.5187 GB, free: 13.54 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.262e-05/0.5749, allocations: 15.47 kB / 0.5187 GB, free: 13.52 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.491e-05/0.575, allocations: 111.3 kB / 0.5188 GB, free: 13.41 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002418/0.5753, allocations: 146.1 kB / 0.519 GB, free: 13.29 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001156/0.5754, allocations: 55.56 kB / 0.519 GB, free: 13.24 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.5754, allocations: 4.188 kB / 0.519 GB, free: 13.24 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.5754, allocations: 0 / 0.519 GB, free: 13.24 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.259e-06/0.5754, allocations: 3.984 kB / 0.519 GB, free: 13.23 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002032/0.5756, allocations: 158 kB / 0.5192 GB, free: 13.05 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.5757, allocations: 4.031 kB / 0.5192 GB, free: 13.04 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002663/0.5759, allocations: 55.08 kB / 0.5192 GB, free: 12.99 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.636e-06/0.5759, allocations: 4 kB / 0.5192 GB, free: 12.99 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.613e-05/0.576, allocations: 4 kB / 0.5192 GB, free: 12.98 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.576, allocations: 0 / 0.5192 GB, free: 12.98 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.576, allocations: 3.938 kB / 0.5192 GB, free: 12.98 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003316/0.5763, allocations: 365.5 kB / 0.5196 GB, free: 12.63 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005229/0.5768, allocations: 0.7239 MB / 0.5203 GB, free: 11.91 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.162e-05/0.5769, allocations: 85.02 kB / 0.5204 GB, free: 11.81 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.123e-05/0.5769, allocations: 8 kB / 0.5204 GB, free: 11.8 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002472/0.5772, allocations: 31.91 kB / 0.5204 GB, free: 11.77 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.316e-05/0.5772, allocations: 7.906 kB / 0.5204 GB, free: 11.77 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.138e-05/0.5773, allocations: 3.5 kB / 0.5204 GB, free: 11.77 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.204e-05/0.5773, allocations: 79.28 kB / 0.5205 GB, free: 11.69 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0009429/0.5783, allocations: 16 kB / 0.5205 GB, free: 11.67 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.301e-05/0.5783, allocations: 91.25 kB / 0.5206 GB, free: 11.57 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001866/0.5785, allocations: 115.4 kB / 0.5207 GB, free: 11.49 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.5786, allocations: 0 / 0.5207 GB, free: 11.49 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.199e-05/0.5786, allocations: 4 kB / 0.5207 GB, free: 11.49 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003589/0.5789, allocations: 85.86 kB / 0.5208 GB, free: 11.43 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001478/0.5804, allocations: 316.4 kB / 0.5211 GB, free: 11.12 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003347/0.5808, allocations: 0.7148 MB / 0.5218 GB, free: 10.38 MB / 346.7 MB Notification: Performance of SimCode: time 3.11e-07/0.5808, allocations: 4 kB / 0.5218 GB, free: 10.37 MB / 346.7 MB (rm -f PowerSysPro_PowerSysPro.Tests.QfURegulation.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.QfURegulation.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.QfURegulation.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.QfURegulation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Tests_QfURegulation_fmu --startTime=0 --stopTime=150 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Tests_QfURegulation.fmu > PowerSysPro_PowerSysPro.Tests.QfURegulation.pipe 2>&1)