Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.QuadraticLinear.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.QuadraticLinear,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_QuadraticLinear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_QuadraticLinear",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.001611/0.001611, allocations: 182.4 kB / 7.799 MB, free: 1.184 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5124/0.5124, allocations: 90.85 MB / 99.06 MB, free: 8.945 MB / 82.76 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.51/1.51, allocations: 221.3 MB / 342.7 MB, free: 4.641 MB / 274.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001021/0.001021, allocations: 94.25 kB / 415.5 MB, free: 14.23 MB / 322.8 MB Notification: Performance of FrontEnd - loaded program: time 0.1713/0.1724, allocations: 78.46 MB / 494 MB, free: 7.477 MB / 386.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.411/0.5834, allocations: 72.31 MB / 0.553 GB, free: 61.94 MB / 450.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1383/0.7218, allocations: 100.7 MB / 0.6514 GB, free: 5.363 MB / 466.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001959/0.7221, allocations: 72.45 kB / 0.6514 GB, free: 5.293 MB / 466.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.003903/0.726, allocations: 1.17 MB / 0.6526 GB, free: 4.133 MB / 466.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.119e-05/0.726, allocations: 8 kB / 0.6526 GB, free: 4.125 MB / 466.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.219e-05/0.7261, allocations: 7.906 kB / 0.6526 GB, free: 4.117 MB / 466.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002004/0.7263, allocations: 178.8 kB / 0.6528 GB, free: 3.902 MB / 466.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.891e-05/0.7263, allocations: 2.297 kB / 0.6528 GB, free: 3.902 MB / 466.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.768e-05/0.7264, allocations: 0 / 0.6528 GB, free: 3.902 MB / 466.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001402/0.7265, allocations: 36.73 kB / 0.6528 GB, free: 3.867 MB / 466.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000119/0.7266, allocations: 52.59 kB / 0.6529 GB, free: 3.812 MB / 466.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.7267, allocations: 0 / 0.6529 GB, free: 3.812 MB / 466.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/0.7267, allocations: 0 / 0.6529 GB, free: 3.812 MB / 466.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.7267, allocations: 0 / 0.6529 GB, free: 3.812 MB / 466.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006787/0.7274, allocations: 315.4 kB / 0.6532 GB, free: 3.469 MB / 466.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001049/0.7275, allocations: 42.56 kB / 0.6532 GB, free: 3.418 MB / 466.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.816e-05/0.7276, allocations: 24.86 kB / 0.6532 GB, free: 3.391 MB / 466.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002102/0.7278, allocations: 109.2 kB / 0.6533 GB, free: 3.266 MB / 466.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.156e-05/0.7278, allocations: 34.47 kB / 0.6534 GB, free: 3.223 MB / 466.8 MB Notification: Performance of pre-optimization done (n=3): time 1.463e-06/0.7278, allocations: 0 / 0.6534 GB, free: 3.223 MB / 466.8 MB Notification: Performance of matching and sorting (n=3): time 0.0003245/0.7282, allocations: 69.67 kB / 0.6534 GB, free: 3.148 MB / 466.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.896e-05/0.7282, allocations: 55.41 kB / 0.6535 GB, free: 3.082 MB / 466.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.61e-05/0.7283, allocations: 116.9 kB / 0.6536 GB, free: 2.961 MB / 466.8 MB Notification: Performance of collectPreVariables (initialization): time 1.927e-05/0.7283, allocations: 25.7 kB / 0.6536 GB, free: 2.93 MB / 466.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.149e-05/0.7284, allocations: 96.06 kB / 0.6537 GB, free: 2.832 MB / 466.8 MB Notification: Performance of collectInitialBindings (initialization): time 1.856e-05/0.7284, allocations: 3.906 kB / 0.6537 GB, free: 2.828 MB / 466.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.679e-06/0.7284, allocations: 0 / 0.6537 GB, free: 2.828 MB / 466.8 MB Notification: Performance of setup shared object (initialization): time 0.0001051/0.7285, allocations: 318.8 kB / 0.654 GB, free: 2.508 MB / 466.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.262e-05/0.7286, allocations: 16 kB / 0.654 GB, free: 2.492 MB / 466.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.064e-05/0.7286, allocations: 19.98 kB / 0.654 GB, free: 2.473 MB / 466.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.746e-05/0.7287, allocations: 23.59 kB / 0.6541 GB, free: 2.453 MB / 466.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.7287, allocations: 0 / 0.6541 GB, free: 2.453 MB / 466.8 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001891/0.7289, allocations: 81.56 kB / 0.6541 GB, free: 2.367 MB / 466.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.7289, allocations: 8 kB / 0.6542 GB, free: 2.359 MB / 466.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.7289, allocations: 0 / 0.6542 GB, free: 2.359 MB / 466.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.729, allocations: 4.094 kB / 0.6542 GB, free: 2.359 MB / 466.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001696/0.7291, allocations: 27.97 kB / 0.6542 GB, free: 2.332 MB / 466.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.233e-05/0.7292, allocations: 3.906 kB / 0.6542 GB, free: 2.328 MB / 466.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001041/0.7293, allocations: 15.98 kB / 0.6542 GB, free: 2.312 MB / 466.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.435e-05/0.7293, allocations: 8 kB / 0.6542 GB, free: 2.305 MB / 466.8 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 (3): * Single equations (assignments): 3 * 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 8.58e-05/0.7294, allocations: 104.9 kB / 0.6543 GB, free: 2.195 MB / 466.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.546e-05/0.7294, allocations: 8.75 kB / 0.6543 GB, free: 2.188 MB / 466.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002803/0.7297, allocations: 93.64 kB / 0.6544 GB, free: 2.09 MB / 466.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.7298, allocations: 0 / 0.6544 GB, free: 2.09 MB / 466.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.7298, allocations: 0 / 0.6544 GB, free: 2.09 MB / 466.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.7298, allocations: 0 / 0.6544 GB, free: 2.09 MB / 466.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002175/0.73, allocations: 162.1 kB / 0.6546 GB, free: 1.895 MB / 466.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.73, allocations: 0 / 0.6546 GB, free: 1.895 MB / 466.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001275/0.7301, allocations: 31.97 kB / 0.6546 GB, free: 1.863 MB / 466.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.7302, allocations: 0 / 0.6546 GB, free: 1.863 MB / 466.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.7302, allocations: 1.031 kB / 0.6546 GB, free: 1.863 MB / 466.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.7302, allocations: 0 / 0.6546 GB, free: 1.863 MB / 466.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/0.7302, allocations: 7.5 kB / 0.6546 GB, free: 1.863 MB / 466.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002534/0.7305, allocations: 183.4 kB / 0.6548 GB, free: 1.668 MB / 466.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003908/0.7309, allocations: 0.535 MB / 0.6553 GB, free: 1.113 MB / 466.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.816e-05/0.7309, allocations: 88.95 kB / 0.6554 GB, free: 1.008 MB / 466.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.094e-05/0.7309, allocations: 0 / 0.6554 GB, free: 1.008 MB / 466.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001366/0.7311, allocations: 19.98 kB / 0.6554 GB, free: 0.9883 MB / 466.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.081e-05/0.7311, allocations: 15.89 kB / 0.6554 GB, free: 0.9727 MB / 466.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.846e-06/0.7312, allocations: 0 / 0.6554 GB, free: 0.9727 MB / 466.8 MB Notification: Performance of sort global known variables: time 8.616e-05/0.7313, allocations: 98.64 kB / 0.6555 GB, free: 0.8789 MB / 466.8 MB Notification: Performance of remove unused functions: time 0.0008032/0.7321, allocations: 14.34 kB / 0.6555 GB, free: 0.8672 MB / 466.8 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 (3): * Single equations (assignments): 3 * 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.0001907/0.7323, allocations: 99.25 kB / 0.6556 GB, free: 0.7617 MB / 466.8 MB Notification: Performance of simCode: created initialization part: time 0.0001255/0.7324, allocations: 38.98 kB / 0.6557 GB, free: 0.7266 MB / 466.8 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.7324, allocations: 0 / 0.6557 GB, free: 0.7266 MB / 466.8 MB Notification: Performance of simCode: created simulation system equations: time 4.112e-05/0.7325, allocations: 20 kB / 0.6557 GB, free: 0.707 MB / 466.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001834/0.7327, allocations: 4 kB / 0.6557 GB, free: 0.7031 MB / 466.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003356/0.733, allocations: 93.77 kB / 0.6558 GB, free: 0.5859 MB / 466.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004101/0.7334, allocations: 0.7006 MB / 0.6565 GB, free: 15.86 MB / 482.8 MB Notification: Performance of SimCode: time 2.7e-07/0.7334, allocations: 0 / 0.6565 GB, free: 15.86 MB / 482.8 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.QuadraticLinear.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_QuadraticLinear_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_QuadraticLinear.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1)