Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselY1.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.BesselY1,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_BesselY1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.BesselY1,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_BesselY1",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.001817/0.001817, allocations: 187.8 kB / 7.805 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.5388/0.5388, allocations: 90.85 MB / 99.07 MB, free: 14.91 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.392/1.392, allocations: 221.4 MB / 342.8 MB, free: 5.125 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.00106/0.00106, allocations: 87.36 kB / 415.5 MB, free: 6.422 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1659/0.167, allocations: 78.45 MB / 493.9 MB, free: 7.973 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3496/0.5167, allocations: 72.3 MB / 0.553 GB, free: 73.46 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1235/0.6402, allocations: 101.3 MB / 0.6519 GB, free: 8.797 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002476/0.6406, allocations: 67.97 kB / 0.6519 GB, free: 8.73 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.008234/0.6488, allocations: 2.521 MB / 0.6544 GB, free: 6.211 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.6489, allocations: 12 kB / 0.6544 GB, free: 6.199 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.672e-05/0.6489, allocations: 0 / 0.6544 GB, free: 6.199 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001794/0.6491, allocations: 167 kB / 0.6546 GB, free: 5.996 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.107e-05/0.6491, allocations: 8.594 kB / 0.6546 GB, free: 5.988 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.133e-05/0.6491, allocations: 0 / 0.6546 GB, free: 5.988 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.429e-05/0.6492, allocations: 13.45 kB / 0.6546 GB, free: 5.977 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.229e-05/0.6493, allocations: 37.7 kB / 0.6546 GB, free: 5.934 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.6493, allocations: 1.375 kB / 0.6546 GB, free: 5.934 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.337e-06/0.6493, allocations: 0 / 0.6546 GB, free: 5.934 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.6493, allocations: 0.7188 kB / 0.6546 GB, free: 5.934 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004377/0.6498, allocations: 252.8 kB / 0.6549 GB, free: 5.652 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.69e-05/0.6498, allocations: 23.52 kB / 0.6549 GB, free: 5.621 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.918e-05/0.6499, allocations: 16.3 kB / 0.6549 GB, free: 5.605 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006794/0.6506, allocations: 451.6 kB / 0.6553 GB, free: 5.074 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.662e-05/0.6506, allocations: 30.56 kB / 0.6554 GB, free: 5.035 MB / 474.7 MB Notification: Performance of pre-optimization done (n=2): time 1.312e-06/0.6506, allocations: 0 / 0.6554 GB, free: 5.035 MB / 474.7 MB Notification: Performance of matching and sorting (n=2): time 0.000206/0.6508, allocations: 44.66 kB / 0.6554 GB, free: 4.988 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.912e-05/0.6509, allocations: 52.22 kB / 0.6555 GB, free: 4.926 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.545e-05/0.651, allocations: 94 kB / 0.6555 GB, free: 4.828 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.409e-05/0.651, allocations: 25.7 kB / 0.6556 GB, free: 4.797 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.638e-05/0.651, allocations: 92.55 kB / 0.6557 GB, free: 4.703 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.549e-05/0.6511, allocations: 0 / 0.6557 GB, free: 4.703 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.417e-06/0.6511, allocations: 0.5312 kB / 0.6557 GB, free: 4.703 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.6512, allocations: 323.2 kB / 0.656 GB, free: 4.379 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.692e-05/0.6512, allocations: 4.5 kB / 0.656 GB, free: 4.375 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.556e-05/0.6513, allocations: 15.97 kB / 0.656 GB, free: 4.359 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.007e-05/0.6513, allocations: 0 / 0.656 GB, free: 4.359 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.6513, allocations: 0 / 0.656 GB, free: 4.359 MB / 474.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.566e-05/0.6514, allocations: 41.7 kB / 0.656 GB, free: 4.312 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.6514, allocations: 4 kB / 0.656 GB, free: 4.309 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.6514, allocations: 0 / 0.656 GB, free: 4.309 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.043e-05/0.6515, allocations: 0 / 0.656 GB, free: 4.309 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001063/0.6516, allocations: 20.08 kB / 0.656 GB, free: 4.289 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.6516, allocations: 0 / 0.656 GB, free: 4.289 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.097e-05/0.6516, allocations: 15.83 kB / 0.6561 GB, free: 4.273 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.6517, allocations: 5.938 kB / 0.6561 GB, free: 4.27 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 (2): * Single equations (assignments): 2 * 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.716e-05/0.6517, allocations: 101 kB / 0.6562 GB, free: 4.164 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.54e-05/0.6518, allocations: 0 / 0.6562 GB, free: 4.164 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001321/0.6519, allocations: 52.94 kB / 0.6562 GB, free: 4.105 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.6519, allocations: 3.906 kB / 0.6562 GB, free: 4.102 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.6519, allocations: 4 kB / 0.6562 GB, free: 4.098 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.6519, allocations: 0 / 0.6562 GB, free: 4.098 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001543/0.6521, allocations: 137.2 kB / 0.6564 GB, free: 3.93 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.6521, allocations: 0 / 0.6564 GB, free: 3.93 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.251e-05/0.6522, allocations: 11.98 kB / 0.6564 GB, free: 3.918 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.6522, allocations: 0 / 0.6564 GB, free: 3.918 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.356e-06/0.6522, allocations: 4.031 kB / 0.6564 GB, free: 3.914 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.6522, allocations: 0.6875 kB / 0.6564 GB, free: 3.914 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.6522, allocations: 0 / 0.6564 GB, free: 3.914 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001333/0.6524, allocations: 139.5 kB / 0.6565 GB, free: 3.762 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002556/0.6526, allocations: 0.5155 MB / 0.657 GB, free: 3.227 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.809e-05/0.6527, allocations: 77.11 kB / 0.6571 GB, free: 3.133 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.665e-05/0.6527, allocations: 2.5 kB / 0.6571 GB, free: 3.133 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.707e-05/0.6528, allocations: 11.98 kB / 0.6571 GB, free: 3.121 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.544e-05/0.6529, allocations: 3.906 kB / 0.6571 GB, free: 3.117 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.681e-06/0.6529, allocations: 4 kB / 0.6571 GB, free: 3.113 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.109e-05/0.6529, allocations: 87.48 kB / 0.6572 GB, free: 3.027 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0008786/0.6538, allocations: 51.92 kB / 0.6572 GB, free: 2.977 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 (2): * Single equations (assignments): 2 * 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.0003856/0.6542, allocations: 159.2 kB / 0.6574 GB, free: 2.809 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 8.136e-05/0.6543, allocations: 15.94 kB / 0.6574 GB, free: 2.793 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.6543, allocations: 0 / 0.6574 GB, free: 2.793 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 2.224e-05/0.6543, allocations: 8 kB / 0.6574 GB, free: 2.785 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001691/0.6545, allocations: 2.031 kB / 0.6574 GB, free: 2.785 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002246/0.6547, allocations: 67.72 kB / 0.6575 GB, free: 2.695 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000335/0.6551, allocations: 0.6841 MB / 0.6581 GB, free: 1.98 MB / 474.7 MB Notification: Performance of SimCode: time 2.71e-07/0.6551, allocations: 8.062 kB / 0.6582 GB, free: 1.973 MB / 474.7 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselY1.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselY1.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselY1.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselY1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_BesselY1_fmu --startTime=0.1 --stopTime=30 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_BesselY1.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselY1.pipe 2>&1)