Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.VectorFunctions.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.VectorFunctions,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_VectorFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="BuildSysPro_BuildSysPro_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/BuildSysPro 3.5.0/package.mo): time 0.7213/0.7213, allocations: 127.4 MB / 134.6 MB, free: 4.086 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.001243/0.001243, allocations: 181.2 kB / 164.4 MB, free: 6.879 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.354/1.354, allocations: 205.1 MB / 399.1 MB, free: 6.078 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.0009369/0.0009367, allocations: 91.14 kB / 476.3 MB, free: 8.824 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2659/0.2669, allocations: 82.88 MB / 0.5461 GB, free: 42.65 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1408/0.4077, allocations: 76.75 MB / 0.621 GB, free: 13.82 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4199/0.8277, allocations: 102.6 MB / 0.7212 GB, free: 9.703 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002577/0.828, allocations: 75.95 kB / 0.7213 GB, free: 9.629 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.005638/0.8337, allocations: 1.778 MB / 0.723 GB, free: 7.812 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.521e-05/0.8337, allocations: 8 kB / 0.723 GB, free: 7.805 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.78e-05/0.8338, allocations: 11.81 kB / 0.723 GB, free: 7.793 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002765/0.8341, allocations: 202.8 kB / 0.7232 GB, free: 7.555 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.8341, allocations: 4 kB / 0.7232 GB, free: 7.551 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.792e-05/0.8341, allocations: 4 kB / 0.7232 GB, free: 7.547 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001709/0.8343, allocations: 63.97 kB / 0.7233 GB, free: 7.484 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001547/0.8345, allocations: 80.47 kB / 0.7234 GB, free: 7.402 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.8345, allocations: 4 kB / 0.7234 GB, free: 7.398 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.644e-05/0.8345, allocations: 3.5 kB / 0.7234 GB, free: 7.398 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.8345, allocations: 3.938 kB / 0.7234 GB, free: 7.395 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006441/0.8352, allocations: 372.9 kB / 0.7237 GB, free: 6.992 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.498e-05/0.8353, allocations: 46.52 kB / 0.7238 GB, free: 6.938 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.592e-05/0.8354, allocations: 36.97 kB / 0.7238 GB, free: 6.898 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.224e-05/0.8354, allocations: 4 kB / 0.7238 GB, free: 6.895 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.754e-05/0.8354, allocations: 30.56 kB / 0.7238 GB, free: 6.855 MB / 490.7 MB Notification: Performance of pre-optimization done (n=6): time 1.483e-06/0.8355, allocations: 0 / 0.7238 GB, free: 6.855 MB / 490.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003293/0.8358, allocations: 93.56 kB / 0.7239 GB, free: 6.758 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.419e-05/0.8358, allocations: 51.41 kB / 0.724 GB, free: 6.695 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001123/0.836, allocations: 123.7 kB / 0.7241 GB, free: 6.566 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.912e-05/0.836, allocations: 29.7 kB / 0.7241 GB, free: 6.531 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.719e-05/0.836, allocations: 92.22 kB / 0.7242 GB, free: 6.438 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.752e-05/0.8361, allocations: 19.8 kB / 0.7242 GB, free: 6.418 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.342e-06/0.8361, allocations: 0 / 0.7242 GB, free: 6.418 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001027/0.8362, allocations: 322.8 kB / 0.7245 GB, free: 6.094 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.448e-05/0.8362, allocations: 20 kB / 0.7245 GB, free: 6.074 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.483e-05/0.8363, allocations: 27.98 kB / 0.7246 GB, free: 6.047 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.854e-05/0.8364, allocations: 31.92 kB / 0.7246 GB, free: 6.016 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.8364, allocations: 4 kB / 0.7246 GB, free: 6.012 MB / 490.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001672/0.8366, allocations: 97.56 kB / 0.7247 GB, free: 5.91 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.8366, allocations: 4 kB / 0.7247 GB, free: 5.906 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.8366, allocations: 4 kB / 0.7247 GB, free: 5.902 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.8366, allocations: 0 / 0.7247 GB, free: 5.902 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001564/0.8368, allocations: 19.98 kB / 0.7247 GB, free: 5.883 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.8368, allocations: 3.906 kB / 0.7247 GB, free: 5.879 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.788e-05/0.8369, allocations: 15.98 kB / 0.7247 GB, free: 5.863 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.344e-05/0.8369, allocations: 4 kB / 0.7248 GB, free: 5.859 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 (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 7.557e-05/0.837, allocations: 107.5 kB / 0.7249 GB, free: 5.75 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.498e-05/0.837, allocations: 7.906 kB / 0.7249 GB, free: 5.742 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002639/0.8373, allocations: 130 kB / 0.725 GB, free: 5.609 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.8373, allocations: 0 / 0.725 GB, free: 5.609 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.8373, allocations: 4.875 kB / 0.725 GB, free: 5.605 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.788e-06/0.8373, allocations: 0 / 0.725 GB, free: 5.605 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001959/0.8375, allocations: 178.1 kB / 0.7252 GB, free: 5.395 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.8376, allocations: 0 / 0.7252 GB, free: 5.395 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001247/0.8377, allocations: 31.91 kB / 0.7252 GB, free: 5.363 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.8377, allocations: 3.938 kB / 0.7252 GB, free: 5.359 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.589e-05/0.8377, allocations: 8.219 kB / 0.7252 GB, free: 5.352 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.8377, allocations: 4 kB / 0.7252 GB, free: 5.348 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/0.8377, allocations: 4 kB / 0.7252 GB, free: 5.344 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002676/0.838, allocations: 195.4 kB / 0.7254 GB, free: 5.137 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003166/0.8383, allocations: 0.5622 MB / 0.7259 GB, free: 4.555 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.674e-05/0.8384, allocations: 81.02 kB / 0.726 GB, free: 4.457 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.432e-05/0.8384, allocations: 8 kB / 0.726 GB, free: 4.449 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001163/0.8385, allocations: 11.98 kB / 0.726 GB, free: 4.438 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.985e-05/0.8386, allocations: 3.984 kB / 0.726 GB, free: 4.434 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.239e-05/0.8386, allocations: 4 kB / 0.7261 GB, free: 4.43 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.696e-05/0.8387, allocations: 99.27 kB / 0.7261 GB, free: 4.332 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0008079/0.8395, allocations: 23.91 kB / 0.7262 GB, free: 4.309 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 (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.0001677/0.8397, allocations: 103.2 kB / 0.7263 GB, free: 4.199 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001521/0.8398, allocations: 71.97 kB / 0.7263 GB, free: 4.129 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.8398, allocations: 0 / 0.7263 GB, free: 4.129 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 5.877e-05/0.8399, allocations: 39.98 kB / 0.7264 GB, free: 4.09 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001436/0.84, allocations: 7.281 kB / 0.7264 GB, free: 4.086 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000393/0.8404, allocations: 131.5 kB / 0.7265 GB, free: 3.934 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003572/0.8408, allocations: 0.7231 MB / 0.7272 GB, free: 3.184 MB / 490.7 MB Notification: Performance of SimCode: time 2.4e-07/0.8408, allocations: 0 / 0.7272 GB, free: 3.184 MB / 490.7 MB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.VectorFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_VectorFunctions_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_VectorFunctions.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.VectorFunctions.pipe 2>&1)