Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselY0.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.Functions.Examples.BesselY0,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselY0,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_BesselY0",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.062 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.001834/0.001834, allocations: 173.3 kB / 164.4 MB, free: 6.883 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.761/1.761, allocations: 205.1 MB / 399.1 MB, free: 6.086 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.001038/0.001038, allocations: 84.83 kB / 476.3 MB, free: 8.84 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2972/0.2983, allocations: 82.89 MB / 0.5461 GB, free: 42.64 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.4453, allocations: 76.75 MB / 0.621 GB, free: 13.82 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3891/0.8345, allocations: 101.6 MB / 0.7202 GB, free: 10.73 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002441/0.8348, allocations: 71.95 kB / 0.7203 GB, free: 10.66 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.006721/0.8416, allocations: 2.209 MB / 0.7224 GB, free: 8.422 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.8416, allocations: 8 kB / 0.7224 GB, free: 8.414 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.643e-05/0.8416, allocations: 0 / 0.7224 GB, free: 8.414 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.022e-05/0.8417, allocations: 159.1 kB / 0.7226 GB, free: 8.219 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.006e-05/0.8418, allocations: 4 kB / 0.7226 GB, free: 8.215 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.135e-06/0.8418, allocations: 0 / 0.7226 GB, free: 8.215 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.284e-05/0.8418, allocations: 7.938 kB / 0.7226 GB, free: 8.207 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.923e-05/0.8419, allocations: 29.69 kB / 0.7226 GB, free: 8.172 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.8419, allocations: 3.906 kB / 0.7226 GB, free: 8.168 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.696e-06/0.8419, allocations: 0 / 0.7226 GB, free: 8.168 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.291e-06/0.8419, allocations: 0 / 0.7226 GB, free: 8.168 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001342/0.8421, allocations: 128.8 kB / 0.7228 GB, free: 8.008 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.92e-05/0.8421, allocations: 22.58 kB / 0.7228 GB, free: 7.977 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.77e-05/0.8421, allocations: 4.859 kB / 0.7228 GB, free: 7.969 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006382/0.8428, allocations: 442.3 kB / 0.7232 GB, free: 7.445 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.577e-05/0.8428, allocations: 34.56 kB / 0.7232 GB, free: 7.402 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 1.172e-06/0.8428, allocations: 0 / 0.7232 GB, free: 7.402 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001542/0.843, allocations: 33.64 kB / 0.7233 GB, free: 7.363 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.27e-05/0.843, allocations: 59.39 kB / 0.7233 GB, free: 7.293 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.402e-05/0.8431, allocations: 85 kB / 0.7234 GB, free: 7.203 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.133e-05/0.8431, allocations: 25.7 kB / 0.7234 GB, free: 7.172 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.343e-05/0.8431, allocations: 80.14 kB / 0.7235 GB, free: 7.09 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.733e-05/0.8431, allocations: 11.88 kB / 0.7235 GB, free: 7.078 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.224e-06/0.8431, allocations: 0 / 0.7235 GB, free: 7.078 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001111/0.8433, allocations: 314.8 kB / 0.7238 GB, free: 6.762 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.121e-06/0.8433, allocations: 0 / 0.7238 GB, free: 6.762 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.908e-06/0.8433, allocations: 0 / 0.7238 GB, free: 6.762 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.538e-05/0.8433, allocations: 0 / 0.7238 GB, free: 6.762 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.8433, allocations: 4 kB / 0.7238 GB, free: 6.758 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.869e-05/0.8434, allocations: 29.7 kB / 0.7238 GB, free: 6.723 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.8434, allocations: 4 kB / 0.7239 GB, free: 6.719 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.8434, allocations: 12.02 kB / 0.7239 GB, free: 6.707 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.8434, allocations: 7.844 kB / 0.7239 GB, free: 6.699 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.234e-05/0.8435, allocations: 4 kB / 0.7239 GB, free: 6.695 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.717e-06/0.8435, allocations: 0 / 0.7239 GB, free: 6.695 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.197e-06/0.8435, allocations: 0 / 0.7239 GB, free: 6.695 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.22e-06/0.8435, allocations: 0 / 0.7239 GB, free: 6.695 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 (1): * Single equations (assignments): 1 * 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 6.225e-05/0.8436, allocations: 101 kB / 0.724 GB, free: 6.59 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.995e-06/0.8436, allocations: 4 kB / 0.724 GB, free: 6.586 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.974e-05/0.8437, allocations: 45.78 kB / 0.724 GB, free: 6.539 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.8437, allocations: 7.906 kB / 0.724 GB, free: 6.531 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.8437, allocations: 0 / 0.724 GB, free: 6.531 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.8437, allocations: 0 / 0.724 GB, free: 6.531 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.609e-05/0.8438, allocations: 122.2 kB / 0.7241 GB, free: 6.375 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.8438, allocations: 0 / 0.7241 GB, free: 6.375 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.059e-05/0.8438, allocations: 0 / 0.7241 GB, free: 6.375 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.8438, allocations: 4 kB / 0.7241 GB, free: 6.371 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.029e-06/0.8439, allocations: 0 / 0.7241 GB, free: 6.371 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.62e-07/0.8439, allocations: 0 / 0.7241 GB, free: 6.371 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/0.8439, allocations: 3.938 kB / 0.7241 GB, free: 6.367 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.816e-05/0.844, allocations: 65.06 kB / 0.7242 GB, free: 6.285 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001801/0.8441, allocations: 437.5 kB / 0.7246 GB, free: 5.836 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.331e-05/0.8442, allocations: 81.02 kB / 0.7247 GB, free: 5.738 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.084e-05/0.8442, allocations: 0 / 0.7247 GB, free: 5.738 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.133e-06/0.8442, allocations: 4.062 kB / 0.7247 GB, free: 5.734 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.837e-06/0.8442, allocations: 0 / 0.7247 GB, free: 5.734 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.8442, allocations: 4 kB / 0.7247 GB, free: 5.73 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.584e-05/0.8443, allocations: 75.28 kB / 0.7248 GB, free: 5.656 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0008885/0.8452, allocations: 43.92 kB / 0.7248 GB, free: 5.613 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 (1): * Single equations (assignments): 1 * 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.0003609/0.8455, allocations: 175 kB / 0.725 GB, free: 5.434 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 4.772e-05/0.8456, allocations: 0 / 0.725 GB, free: 5.434 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.8456, allocations: 4 kB / 0.725 GB, free: 5.43 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 5.43e-06/0.8456, allocations: 3.984 kB / 0.725 GB, free: 5.426 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.872e-05/0.8457, allocations: 7.844 kB / 0.725 GB, free: 5.418 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001352/0.8458, allocations: 44.2 kB / 0.7251 GB, free: 5.352 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002996/0.8462, allocations: 0.6957 MB / 0.7257 GB, free: 4.629 MB / 490.7 MB Notification: Performance of SimCode: time 2.41e-07/0.8462, allocations: 0 / 0.7257 GB, free: 4.629 MB / 490.7 MB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselY0.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselY0.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselY0.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselY0.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_BesselY0_fmu --startTime=0.1 --stopTime=30 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_BesselY0.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselY0.pipe 2>&1)