Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_QuadraticLinear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="BuildSysPro_BuildSysPro_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/BuildSysPro 3.5.0/package.mo): time 0.723/0.723, allocations: 127.4 MB / 134.6 MB, free: 4.117 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001264/0.001264, allocations: 185.3 kB / 164.4 MB, free: 6.871 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.748/1.748, allocations: 205.1 MB / 399.1 MB, free: 6.129 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001077/0.001077, allocations: 85.09 kB / 476.3 MB, free: 8.883 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4129/0.414, allocations: 82.88 MB / 0.5461 GB, free: 42.65 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2485/0.6625, allocations: 76.75 MB / 0.621 GB, free: 13.82 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7281/1.391, allocations: 101.8 MB / 0.7204 GB, free: 10.5 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004591/1.391, allocations: 71.95 kB / 0.7205 GB, free: 10.43 MB / 490.7 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.005701/1.397, allocations: 1.161 MB / 0.7216 GB, free: 9.227 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.064e-05/1.397, allocations: 8 kB / 0.7216 GB, free: 9.219 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.153e-05/1.397, allocations: 11.89 kB / 0.7216 GB, free: 9.207 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000215/1.397, allocations: 170.9 kB / 0.7218 GB, free: 9 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.859e-05/1.397, allocations: 4 kB / 0.7218 GB, free: 8.996 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.456e-05/1.397, allocations: 0 / 0.7218 GB, free: 8.996 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001701/1.398, allocations: 35.98 kB / 0.7218 GB, free: 8.961 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001608/1.398, allocations: 49.59 kB / 0.7219 GB, free: 8.906 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/1.398, allocations: 5.125 kB / 0.7219 GB, free: 8.902 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.48e-05/1.398, allocations: 0 / 0.7219 GB, free: 8.902 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.655e-06/1.398, allocations: 4 kB / 0.7219 GB, free: 8.898 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008866/1.399, allocations: 313.4 kB / 0.7222 GB, free: 8.555 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001326/1.399, allocations: 42.56 kB / 0.7222 GB, free: 8.504 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.972e-05/1.399, allocations: 16.86 kB / 0.7222 GB, free: 8.484 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003475/1.399, allocations: 117.2 kB / 0.7223 GB, free: 8.352 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.225e-05/1.399, allocations: 34.56 kB / 0.7224 GB, free: 8.309 MB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 1.814e-06/1.399, allocations: 0 / 0.7224 GB, free: 8.309 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.0004186/1.4, allocations: 77.5 kB / 0.7224 GB, free: 8.227 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.004e-05/1.4, allocations: 55.41 kB / 0.7225 GB, free: 8.16 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001386/1.4, allocations: 115.3 kB / 0.7226 GB, free: 8.043 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.983e-05/1.4, allocations: 30.45 kB / 0.7226 GB, free: 8.008 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.404e-05/1.4, allocations: 84.14 kB / 0.7227 GB, free: 7.922 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.643e-05/1.4, allocations: 7.906 kB / 0.7227 GB, free: 7.914 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.266e-06/1.4, allocations: 0 / 0.7227 GB, free: 7.914 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001846/1.4, allocations: 324.9 kB / 0.723 GB, free: 7.59 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.064e-05/1.4, allocations: 12 kB / 0.7231 GB, free: 7.578 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.818e-05/1.401, allocations: 19.98 kB / 0.7231 GB, free: 7.559 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001204/1.401, allocations: 23.97 kB / 0.7231 GB, free: 7.535 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/1.401, allocations: 3.938 kB / 0.7231 GB, free: 7.531 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002371/1.401, allocations: 81.58 kB / 0.7232 GB, free: 7.445 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/1.401, allocations: 4 kB / 0.7232 GB, free: 7.441 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/1.401, allocations: 3.938 kB / 0.7232 GB, free: 7.438 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/1.401, allocations: 0 / 0.7232 GB, free: 7.438 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002086/1.401, allocations: 27.97 kB / 0.7232 GB, free: 7.41 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/1.401, allocations: 4 kB / 0.7232 GB, free: 7.406 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001348/1.401, allocations: 16.73 kB / 0.7232 GB, free: 7.391 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.934e-05/1.401, allocations: 4 kB / 0.7232 GB, free: 7.387 MB / 490.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 (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 0.0001016/1.402, allocations: 105 kB / 0.7233 GB, free: 7.277 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.37e-05/1.402, allocations: 7.906 kB / 0.7233 GB, free: 7.27 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003752/1.402, allocations: 93.62 kB / 0.7234 GB, free: 7.168 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/1.402, allocations: 0 / 0.7234 GB, free: 7.168 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.977e-06/1.402, allocations: 3.906 kB / 0.7234 GB, free: 7.164 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/1.402, allocations: 0 / 0.7234 GB, free: 7.164 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002669/1.402, allocations: 159.7 kB / 0.7236 GB, free: 6.973 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.562e-06/1.402, allocations: 3.938 kB / 0.7236 GB, free: 6.969 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001652/1.402, allocations: 35.91 kB / 0.7236 GB, free: 6.934 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/1.402, allocations: 0 / 0.7236 GB, free: 6.934 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/1.402, allocations: 0 / 0.7236 GB, free: 6.934 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/1.402, allocations: 0 / 0.7236 GB, free: 6.934 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/1.403, allocations: 0 / 0.7236 GB, free: 6.934 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003075/1.403, allocations: 179.3 kB / 0.7238 GB, free: 6.742 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004344/1.403, allocations: 0.5389 MB / 0.7243 GB, free: 6.184 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.231e-05/1.403, allocations: 84.95 kB / 0.7244 GB, free: 6.082 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.057e-05/1.403, allocations: 8 kB / 0.7244 GB, free: 6.074 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000193/1.404, allocations: 20.31 kB / 0.7244 GB, free: 6.055 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.347e-05/1.404, allocations: 7.922 kB / 0.7244 GB, free: 6.047 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.597e-05/1.404, allocations: 8 kB / 0.7244 GB, free: 6.039 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.078e-05/1.404, allocations: 98.45 kB / 0.7245 GB, free: 5.945 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001323/1.405, allocations: 8 kB / 0.7245 GB, free: 5.938 MB / 490.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 (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.000228/1.405, allocations: 105.6 kB / 0.7246 GB, free: 5.828 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001675/1.406, allocations: 39.97 kB / 0.7247 GB, free: 5.789 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/1.406, allocations: 0 / 0.7247 GB, free: 5.789 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 6.07e-05/1.406, allocations: 20 kB / 0.7247 GB, free: 5.77 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002777/1.406, allocations: 7.906 kB / 0.7247 GB, free: 5.762 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004154/1.406, allocations: 99.73 kB / 0.7248 GB, free: 5.637 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000474/1.407, allocations: 0.6993 MB / 0.7255 GB, free: 4.914 MB / 490.7 MB Notification: Performance of SimCode: time 3.8e-07/1.407, allocations: 0 / 0.7255 GB, free: 4.914 MB / 490.7 MB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_QuadraticLinear_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_QuadraticLinear.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1)