Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized.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/IBPSA 4.0.0-master/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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_PowerLinearized",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.001544/0.001544, allocations: 187 kB / 7.802 MB, free: 2.492 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5044/0.5044, allocations: 90.85 MB / 99.07 MB, free: 14.97 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 221.4 MB / 342.8 MB, free: 5.461 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 111.8 kB / 415.5 MB, free: 6.473 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1712/0.1724, allocations: 78.43 MB / 493.9 MB, free: 8.035 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3718/0.5442, allocations: 72.31 MB / 0.553 GB, free: 73.47 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.119/0.6632, allocations: 100.7 MB / 0.6513 GB, free: 9.328 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000248/0.6635, allocations: 75.94 kB / 0.6514 GB, free: 9.254 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.002584/0.6661, allocations: 0.8148 MB / 0.6522 GB, free: 8.422 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.6662, allocations: 8 kB / 0.6522 GB, free: 8.414 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.177e-05/0.6662, allocations: 4.484 kB / 0.6522 GB, free: 8.41 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001477/0.6664, allocations: 171 kB / 0.6524 GB, free: 8.203 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/0.6664, allocations: 0.7188 kB / 0.6524 GB, free: 8.203 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.097e-06/0.6664, allocations: 1.438 kB / 0.6524 GB, free: 8.203 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.777e-05/0.6665, allocations: 18.06 kB / 0.6524 GB, free: 8.188 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.407e-05/0.6666, allocations: 37.69 kB / 0.6524 GB, free: 8.145 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.6666, allocations: 0 / 0.6524 GB, free: 8.145 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.6666, allocations: 4.531 kB / 0.6524 GB, free: 8.141 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.6666, allocations: 2.438 kB / 0.6524 GB, free: 8.141 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004425/0.6671, allocations: 248.3 kB / 0.6527 GB, free: 7.863 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.198e-05/0.6672, allocations: 31.95 kB / 0.6527 GB, free: 7.824 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.381e-05/0.6672, allocations: 4.922 kB / 0.6527 GB, free: 7.816 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004144/0.6676, allocations: 419.8 kB / 0.6531 GB, free: 7.316 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.927e-05/0.6677, allocations: 35.47 kB / 0.6531 GB, free: 7.273 MB / 474.7 MB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.6677, allocations: 0 / 0.6531 GB, free: 7.273 MB / 474.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001851/0.6679, allocations: 42.61 kB / 0.6532 GB, free: 7.227 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.109e-05/0.6679, allocations: 55.41 kB / 0.6532 GB, free: 7.16 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.889e-05/0.668, allocations: 93.53 kB / 0.6533 GB, free: 7.062 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.473e-05/0.668, allocations: 26.67 kB / 0.6533 GB, free: 7.031 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.202e-05/0.668, allocations: 84.12 kB / 0.6534 GB, free: 6.945 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.667e-05/0.6681, allocations: 12.78 kB / 0.6534 GB, free: 6.934 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.106e-06/0.6681, allocations: 0 / 0.6534 GB, free: 6.934 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.6682, allocations: 316.6 kB / 0.6537 GB, free: 6.617 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.721e-05/0.6682, allocations: 6.156 kB / 0.6537 GB, free: 6.613 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.65e-05/0.6682, allocations: 8 kB / 0.6537 GB, free: 6.605 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.118e-05/0.6683, allocations: 0.5312 kB / 0.6537 GB, free: 6.605 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.6683, allocations: 0 / 0.6537 GB, free: 6.605 MB / 474.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.938e-05/0.6684, allocations: 54.16 kB / 0.6538 GB, free: 6.547 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.06e-05/0.6684, allocations: 4.625 kB / 0.6538 GB, free: 6.543 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.349e-06/0.6684, allocations: 4 kB / 0.6538 GB, free: 6.539 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.6684, allocations: 0.8125 kB / 0.6538 GB, free: 6.539 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001013/0.6685, allocations: 13.14 kB / 0.6538 GB, free: 6.527 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.289e-06/0.6686, allocations: 0.5312 kB / 0.6538 GB, free: 6.527 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.88e-05/0.6686, allocations: 9.156 kB / 0.6538 GB, free: 6.52 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.6686, allocations: 1.781 kB / 0.6538 GB, free: 6.52 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.733e-05/0.6687, allocations: 104.4 kB / 0.6539 GB, free: 6.414 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.235e-05/0.6688, allocations: 12.61 kB / 0.6539 GB, free: 6.402 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001265/0.6689, allocations: 42.2 kB / 0.654 GB, free: 6.352 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.6689, allocations: 7.922 kB / 0.654 GB, free: 6.344 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.6689, allocations: 4.594 kB / 0.654 GB, free: 6.34 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.6689, allocations: 1.875 kB / 0.654 GB, free: 6.34 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001376/0.6691, allocations: 138.1 kB / 0.6541 GB, free: 6.168 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.6691, allocations: 0.5938 kB / 0.6541 GB, free: 6.168 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001058/0.6692, allocations: 17.08 kB / 0.6541 GB, free: 6.152 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.6692, allocations: 1 kB / 0.6541 GB, free: 6.152 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.6692, allocations: 8 kB / 0.6541 GB, free: 6.145 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.6693, allocations: 1.719 kB / 0.6542 GB, free: 6.145 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.6693, allocations: 0 / 0.6542 GB, free: 6.145 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002206/0.6695, allocations: 141.1 kB / 0.6543 GB, free: 5.992 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002959/0.6698, allocations: 0.519 MB / 0.6548 GB, free: 5.457 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.541e-05/0.6699, allocations: 77.11 kB / 0.6549 GB, free: 5.363 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.408e-05/0.6699, allocations: 0 / 0.6549 GB, free: 5.363 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.611e-05/0.67, allocations: 8 kB / 0.6549 GB, free: 5.355 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.743e-05/0.67, allocations: 3.984 kB / 0.6549 GB, free: 5.352 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.67, allocations: 4 kB / 0.6549 GB, free: 5.348 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.96e-05/0.6701, allocations: 83.28 kB / 0.655 GB, free: 5.266 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0009514/0.671, allocations: 11.91 kB / 0.655 GB, free: 5.254 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.000156/0.6712, allocations: 103.2 kB / 0.6551 GB, free: 5.145 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 8.884e-05/0.6713, allocations: 15.98 kB / 0.6551 GB, free: 5.129 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.6713, allocations: 0.8438 kB / 0.6551 GB, free: 5.129 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 2.27e-05/0.6714, allocations: 4 kB / 0.6551 GB, free: 5.125 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000172/0.6715, allocations: 4 kB / 0.6551 GB, free: 5.121 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002138/0.6718, allocations: 63.84 kB / 0.6552 GB, free: 5.035 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002974/0.6721, allocations: 0.6933 MB / 0.6558 GB, free: 4.316 MB / 474.7 MB Notification: Performance of SimCode: time 2.8e-07/0.6721, allocations: 0 / 0.6558 GB, free: 4.316 MB / 474.7 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_PowerLinearized.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)