Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions.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.VectorFunctions,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_VectorFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_VectorFunctions",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.001526/0.001526, allocations: 187.6 kB / 7.803 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5987/0.5987, allocations: 90.85 MB / 99.07 MB, free: 14.95 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.387/1.387, allocations: 221.4 MB / 342.7 MB, free: 5.438 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.0009892/0.0009889, allocations: 105.4 kB / 415.5 MB, free: 6.438 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1875/0.1885, allocations: 78.44 MB / 494 MB, free: 7.996 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4296/0.6182, allocations: 72.3 MB / 0.553 GB, free: 73.48 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1244/0.7427, allocations: 101.5 MB / 0.6521 GB, free: 8.602 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001912/0.7429, allocations: 75.95 kB / 0.6522 GB, free: 8.527 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.00574/0.7487, allocations: 1.825 MB / 0.6539 GB, free: 6.691 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.7487, allocations: 8 kB / 0.6539 GB, free: 6.684 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.694e-05/0.7488, allocations: 7.906 kB / 0.6539 GB, free: 6.676 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002258/0.749, allocations: 202.7 kB / 0.6541 GB, free: 6.438 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.749, allocations: 0.8125 kB / 0.6541 GB, free: 6.438 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.228e-05/0.7491, allocations: 4 kB / 0.6541 GB, free: 6.434 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001731/0.7493, allocations: 64.94 kB / 0.6542 GB, free: 6.371 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001656/0.7494, allocations: 81.66 kB / 0.6543 GB, free: 6.285 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.7494, allocations: 1 kB / 0.6543 GB, free: 6.285 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.782e-05/0.7495, allocations: 7.984 kB / 0.6543 GB, free: 6.277 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.7495, allocations: 3.938 kB / 0.6543 GB, free: 6.273 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006307/0.7501, allocations: 362.6 kB / 0.6546 GB, free: 5.887 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.343e-05/0.7502, allocations: 47.17 kB / 0.6547 GB, free: 5.832 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.014e-05/0.7503, allocations: 37.78 kB / 0.6547 GB, free: 5.793 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.289e-05/0.7503, allocations: 4 kB / 0.6547 GB, free: 5.789 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.328e-05/0.7504, allocations: 31.41 kB / 0.6548 GB, free: 5.75 MB / 474.7 MB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.7504, allocations: 3.25 kB / 0.6548 GB, free: 5.75 MB / 474.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003029/0.7507, allocations: 99.28 kB / 0.6549 GB, free: 5.648 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.539e-05/0.7507, allocations: 51.41 kB / 0.6549 GB, free: 5.586 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.265e-05/0.7508, allocations: 123.2 kB / 0.655 GB, free: 5.457 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.527e-05/0.7509, allocations: 25.7 kB / 0.655 GB, free: 5.426 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.729e-05/0.7509, allocations: 100.3 kB / 0.6551 GB, free: 5.324 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.418e-05/0.7509, allocations: 7.812 kB / 0.6552 GB, free: 5.316 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.753e-06/0.751, allocations: 0.625 kB / 0.6552 GB, free: 5.316 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001174/0.7511, allocations: 327.4 kB / 0.6555 GB, free: 4.988 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.548e-05/0.7511, allocations: 26.8 kB / 0.6555 GB, free: 4.965 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.46e-05/0.7512, allocations: 28.81 kB / 0.6555 GB, free: 4.938 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.041e-05/0.7513, allocations: 27.97 kB / 0.6555 GB, free: 4.91 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.7513, allocations: 4.5 kB / 0.6555 GB, free: 4.906 MB / 474.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001806/0.7515, allocations: 94.23 kB / 0.6556 GB, free: 4.809 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.7515, allocations: 4 kB / 0.6556 GB, free: 4.805 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.7515, allocations: 4.5 kB / 0.6556 GB, free: 4.801 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.7515, allocations: 0.625 kB / 0.6556 GB, free: 4.801 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001667/0.7517, allocations: 25.09 kB / 0.6557 GB, free: 4.777 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.7517, allocations: 2.406 kB / 0.6557 GB, free: 4.777 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.476e-05/0.7518, allocations: 13.69 kB / 0.6557 GB, free: 4.766 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.817e-05/0.7519, allocations: 7.984 kB / 0.6557 GB, free: 4.758 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 (6): * Single equations (assignments): 6 * 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.0001484/0.752, allocations: 102.1 kB / 0.6558 GB, free: 4.652 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.791e-05/0.7521, allocations: 7.906 kB / 0.6558 GB, free: 4.645 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002942/0.7524, allocations: 123.5 kB / 0.6559 GB, free: 4.52 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.7524, allocations: 0 / 0.6559 GB, free: 4.52 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.271e-06/0.7524, allocations: 2.25 kB / 0.6559 GB, free: 4.52 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.7524, allocations: 0.5625 kB / 0.6559 GB, free: 4.52 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001889/0.7526, allocations: 182.6 kB / 0.6561 GB, free: 4.305 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.7526, allocations: 0 / 0.6561 GB, free: 4.305 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001253/0.7527, allocations: 27.98 kB / 0.6561 GB, free: 4.277 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.7528, allocations: 0 / 0.6561 GB, free: 4.277 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.55e-05/0.7528, allocations: 4 kB / 0.6561 GB, free: 4.273 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.7528, allocations: 3.938 kB / 0.6561 GB, free: 4.27 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/0.7528, allocations: 0 / 0.6561 GB, free: 4.27 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002214/0.753, allocations: 203.3 kB / 0.6563 GB, free: 4.055 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003867/0.7534, allocations: 0.56 MB / 0.6569 GB, free: 3.477 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.692e-05/0.7535, allocations: 81.02 kB / 0.6569 GB, free: 3.379 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.779e-05/0.7535, allocations: 7.984 kB / 0.657 GB, free: 3.371 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001206/0.7536, allocations: 15.91 kB / 0.657 GB, free: 3.355 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.178e-05/0.7537, allocations: 5.766 kB / 0.657 GB, free: 3.352 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.272e-05/0.7537, allocations: 4 kB / 0.657 GB, free: 3.348 MB / 474.7 MB Notification: Performance of sort global known variables: time 6.052e-05/0.7538, allocations: 102.1 kB / 0.6571 GB, free: 3.25 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0007988/0.7546, allocations: 12 kB / 0.6571 GB, free: 3.238 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 (6): * Single equations (assignments): 6 * 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.000162/0.7548, allocations: 111.2 kB / 0.6572 GB, free: 3.121 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001443/0.7549, allocations: 71.97 kB / 0.6573 GB, free: 3.051 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.7549, allocations: 0 / 0.6573 GB, free: 3.051 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 5.703e-05/0.755, allocations: 43.98 kB / 0.6573 GB, free: 3.008 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001303/0.7551, allocations: 11.86 kB / 0.6573 GB, free: 2.996 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003527/0.7555, allocations: 139.3 kB / 0.6574 GB, free: 2.836 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003589/0.7558, allocations: 0.7231 MB / 0.6582 GB, free: 2.086 MB / 474.7 MB Notification: Performance of SimCode: time 2.61e-07/0.7559, allocations: 0 / 0.6582 GB, free: 2.086 MB / 474.7 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_VectorFunctions_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_VectorFunctions.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions.pipe 2>&1)