Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",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.1.4-maint.8.1.x/package.mo): time 1.377/1.377, allocations: 289.8 MB / 297.1 MB, free: 6.684 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.001073/0.001073, allocations: 185.2 kB / 366.3 MB, free: 1.965 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.039/1.039, allocations: 205.1 MB / 0.6256 GB, free: 7.438 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.0007875/0.0007874, allocations: 90.64 kB / 0.7396 GB, free: 39.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1971/0.1979, allocations: 122.4 MB / 0.8591 GB, free: 13.46 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4618/0.6597, allocations: 116.3 MB / 0.9727 GB, free: 76.13 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1655/0.8252, allocations: 168.5 MB / 1.137 GB, free: 13.93 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003635/0.8257, allocations: 93.25 kB / 1.137 GB, free: 13.84 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.04456/0.8703, allocations: 19.36 MB / 1.156 GB, free: 10.37 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/0.8703, allocations: 12 kB / 1.156 GB, free: 10.36 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009255/0.8712, allocations: 107.5 kB / 1.156 GB, free: 10.25 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004682/0.8717, allocations: 287.7 kB / 1.157 GB, free: 9.93 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/0.8717, allocations: 7.984 kB / 1.157 GB, free: 9.922 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.557e-05/0.8718, allocations: 16 kB / 1.157 GB, free: 9.906 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004142/0.8722, allocations: 263.7 kB / 1.157 GB, free: 9.648 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005278/0.8728, allocations: 400.7 kB / 1.157 GB, free: 9.223 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.535e-05/0.8728, allocations: 3.938 kB / 1.157 GB, free: 9.219 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.082e-05/0.8728, allocations: 4 kB / 1.157 GB, free: 9.215 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.861e-05/0.8729, allocations: 28.48 kB / 1.157 GB, free: 9.188 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002222/0.8751, allocations: 2.155 MB / 1.159 GB, free: 6.844 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002893/0.8754, allocations: 252 kB / 1.16 GB, free: 6.59 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001785/0.8756, allocations: 157.2 kB / 1.16 GB, free: 6.434 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 1.889e-05/0.8756, allocations: 4.188 kB / 1.16 GB, free: 6.43 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.936e-05/0.8756, allocations: 38.75 kB / 1.16 GB, free: 6.383 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=22): time 1.593e-06/0.8756, allocations: 0 / 1.16 GB, free: 6.383 MB / 0.7605 GB Notification: Performance of matching and sorting (n=23): time 0.001109/0.8768, allocations: 0.7924 MB / 1.161 GB, free: 5.543 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.293e-05/0.8768, allocations: 55.41 kB / 1.161 GB, free: 5.477 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001836/0.877, allocations: 198 kB / 1.161 GB, free: 5.273 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.216e-05/0.877, allocations: 25.7 kB / 1.161 GB, free: 5.242 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 8.321e-05/0.8771, allocations: 183.9 kB / 1.161 GB, free: 5.059 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 8.414e-05/0.8772, allocations: 82.75 kB / 1.161 GB, free: 4.977 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.779e-05/0.8772, allocations: 0 / 1.161 GB, free: 4.977 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 9.416e-05/0.8773, allocations: 335.9 kB / 1.161 GB, free: 4.641 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002004/0.8775, allocations: 143.9 kB / 1.162 GB, free: 4.5 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002313/0.8778, allocations: 231.5 kB / 1.162 GB, free: 4.242 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003187/0.8781, allocations: 186.7 kB / 1.162 GB, free: 4.062 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.634e-06/0.8781, allocations: 0 / 1.162 GB, free: 4.062 MB / 0.7605 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001033/0.8791, allocations: 0.5484 MB / 1.162 GB, free: 3.504 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/0.8792, allocations: 8 kB / 1.162 GB, free: 3.496 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.443e-06/0.8792, allocations: 1.719 kB / 1.162 GB, free: 3.496 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006203/0.8798, allocations: 188.6 kB / 1.163 GB, free: 3.309 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002752/0.8801, allocations: 63.84 kB / 1.163 GB, free: 3.246 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002353/0.8824, allocations: 2.149 MB / 1.165 GB, free: 0.9922 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002783/0.8827, allocations: 11.89 kB / 1.165 GB, free: 0.9805 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.717e-05/0.8828, allocations: 13.59 kB / 1.165 GB, free: 0.9688 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 31 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.341e-05/0.8829, allocations: 120.8 kB / 1.165 GB, free: 0.8438 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.368e-05/0.8829, allocations: 23.7 kB / 1.165 GB, free: 0.8203 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004635/0.8834, allocations: 342 kB / 1.165 GB, free: 496 kB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-06/0.8834, allocations: 4 kB / 1.165 GB, free: 492 kB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.674e-06/0.8834, allocations: 64 / 1.165 GB, free: 492 kB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.8834, allocations: 4 kB / 1.165 GB, free: 488 kB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009065/0.8843, allocations: 0.7464 MB / 1.166 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.8844, allocations: 1.188 kB / 1.166 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004162/0.8848, allocations: 79.88 kB / 1.166 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.8848, allocations: 0 / 1.166 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.366e-05/0.8848, allocations: 4 kB / 1.166 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.8848, allocations: 0 / 1.166 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.8848, allocations: 7.969 kB / 1.166 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000662/0.8855, allocations: 0.6262 MB / 1.167 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001005/0.8865, allocations: 1.201 MB / 1.168 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001283/0.8867, allocations: 130.4 kB / 1.168 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.872e-05/0.8867, allocations: 7.094 kB / 1.168 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002056/0.8869, allocations: 3.984 kB / 1.168 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.362e-05/0.887, allocations: 19.89 kB / 1.168 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.681e-05/0.887, allocations: 8 kB / 1.168 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of sort global known variables: time 0.0001233/0.8871, allocations: 156.1 kB / 1.168 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.001005/0.8881, allocations: 87.98 kB / 1.168 GB, free: 13.28 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dynRC.q[1],dynRC.q[2],dynRL.psi[1],dynRL.psi[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 24 * 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 0.0001603/0.8883, allocations: 119.1 kB / 1.168 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0007371/0.8891, allocations: 496 kB / 1.169 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.8891, allocations: 0 / 1.169 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001843/0.8893, allocations: 151.9 kB / 1.169 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003314/0.8896, allocations: 41.98 kB / 1.169 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001336/0.8909, allocations: 0.7043 MB / 1.17 GB, free: 11.74 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004591/0.8914, allocations: 0.8359 MB / 1.171 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of SimCode: time 3.01e-07/0.8914, allocations: 0 / 1.171 GB, free: 10.88 MB / 0.7761 GB (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.fmu > Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1)