Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselY0.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.BesselY0,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.BesselY0,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_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/Complex 4.0.0+maint.om/package.mo): time 0.001566/0.001566, allocations: 192.9 kB / 7.807 MB, free: 2.496 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4694/0.4694, 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.419/1.419, allocations: 221.4 MB / 342.8 MB, free: 5.121 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.0009511/0.0009511, allocations: 100.3 kB / 415.5 MB, free: 6.426 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1696/0.1705, allocations: 78.44 MB / 494 MB, free: 7.977 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4499/0.6205, allocations: 72.29 MB / 0.553 GB, free: 73.27 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1154/0.7359, allocations: 101.2 MB / 0.6518 GB, free: 8.82 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002793/0.7362, allocations: 77.7 kB / 0.6519 GB, free: 8.746 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.007914/0.7441, allocations: 2.447 MB / 0.6543 GB, free: 6.297 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/0.7442, allocations: 12.88 kB / 0.6543 GB, free: 6.285 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.386e-05/0.7443, allocations: 0 / 0.6543 GB, free: 6.285 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001267/0.7444, allocations: 163 kB / 0.6544 GB, free: 6.086 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.7444, allocations: 8.781 kB / 0.6544 GB, free: 6.078 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.033e-05/0.7444, allocations: 4 kB / 0.6544 GB, free: 6.074 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.195e-05/0.7445, allocations: 9.094 kB / 0.6544 GB, free: 6.066 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.291e-05/0.7446, allocations: 33.69 kB / 0.6545 GB, free: 6.027 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.7446, allocations: 1.438 kB / 0.6545 GB, free: 6.027 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.035e-06/0.7446, allocations: 0.5938 kB / 0.6545 GB, free: 6.027 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.7446, allocations: 4.625 kB / 0.6545 GB, free: 6.023 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003641/0.745, allocations: 249 kB / 0.6547 GB, free: 5.746 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.428e-05/0.7451, allocations: 27.27 kB / 0.6547 GB, free: 5.711 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.903e-05/0.7451, allocations: 9.703 kB / 0.6548 GB, free: 5.699 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005909/0.7457, allocations: 450.8 kB / 0.6552 GB, free: 5.172 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.675e-05/0.7457, allocations: 30.56 kB / 0.6552 GB, free: 5.133 MB / 474.7 MB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.7457, allocations: 0 / 0.6552 GB, free: 5.133 MB / 474.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002098/0.746, allocations: 41.69 kB / 0.6553 GB, free: 5.086 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.746, allocations: 51.41 kB / 0.6553 GB, free: 5.023 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.642e-05/0.7461, allocations: 89 kB / 0.6554 GB, free: 4.93 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/0.7461, allocations: 35.31 kB / 0.6554 GB, free: 4.891 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.06e-05/0.7462, allocations: 84.05 kB / 0.6555 GB, free: 4.805 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.704e-05/0.7462, allocations: 7.938 kB / 0.6555 GB, free: 4.797 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.986e-06/0.7462, allocations: 0 / 0.6555 GB, free: 4.797 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.7463, allocations: 316 kB / 0.6558 GB, free: 4.48 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.886e-05/0.7463, allocations: 11.94 kB / 0.6558 GB, free: 4.469 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.105e-05/0.7463, allocations: 1.062 kB / 0.6558 GB, free: 4.469 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.266e-05/0.7464, allocations: 8 kB / 0.6558 GB, free: 4.461 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.7464, allocations: 0.5625 kB / 0.6558 GB, free: 4.461 MB / 474.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.395e-05/0.7465, allocations: 42.22 kB / 0.6559 GB, free: 4.414 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.7465, allocations: 4.5 kB / 0.6559 GB, free: 4.41 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.7465, allocations: 0 / 0.6559 GB, free: 4.41 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.478e-06/0.7465, allocations: 1.156 kB / 0.6559 GB, free: 4.41 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/0.7466, allocations: 13.23 kB / 0.6559 GB, free: 4.398 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.311e-06/0.7466, allocations: 6.906 kB / 0.6559 GB, free: 4.395 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.174e-05/0.7467, allocations: 9.812 kB / 0.6559 GB, free: 4.387 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.611e-06/0.7467, allocations: 0 / 0.6559 GB, free: 4.387 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 6.321e-05/0.7468, allocations: 112.5 kB / 0.656 GB, free: 4.273 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.803e-05/0.7468, allocations: 10.36 kB / 0.656 GB, free: 4.266 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001134/0.747, allocations: 44.95 kB / 0.6561 GB, free: 4.215 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.747, allocations: 11.83 kB / 0.6561 GB, free: 4.203 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.747, allocations: 0 / 0.6561 GB, free: 4.203 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.747, allocations: 0 / 0.6561 GB, free: 4.203 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001157/0.7471, allocations: 130.2 kB / 0.6562 GB, free: 4.039 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.7471, allocations: 4 kB / 0.6562 GB, free: 4.035 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.215e-05/0.7472, allocations: 15.98 kB / 0.6562 GB, free: 4.02 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.7472, allocations: 4.031 kB / 0.6562 GB, free: 4.016 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-06/0.7472, allocations: 0 / 0.6562 GB, free: 4.016 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.7472, allocations: 0 / 0.6562 GB, free: 4.016 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.7472, allocations: 0 / 0.6562 GB, free: 4.016 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001149/0.7473, allocations: 140.5 kB / 0.6564 GB, free: 3.863 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001965/0.7476, allocations: 0.5116 MB / 0.6569 GB, free: 3.332 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.681e-05/0.7476, allocations: 77.11 kB / 0.6569 GB, free: 3.238 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.5e-05/0.7476, allocations: 3.984 kB / 0.6569 GB, free: 3.234 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.161e-05/0.7477, allocations: 8 kB / 0.6569 GB, free: 3.227 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.301e-05/0.7477, allocations: 7.891 kB / 0.6569 GB, free: 3.219 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.417e-06/0.7478, allocations: 0 / 0.6569 GB, free: 3.219 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.319e-05/0.7478, allocations: 83.31 kB / 0.657 GB, free: 3.137 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0008352/0.7486, allocations: 43.94 kB / 0.6571 GB, free: 3.094 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.0003415/0.749, allocations: 159.5 kB / 0.6572 GB, free: 2.926 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 6.915e-05/0.7491, allocations: 15.94 kB / 0.6572 GB, free: 2.91 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.7491, allocations: 0 / 0.6572 GB, free: 2.91 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 2.268e-05/0.7491, allocations: 8 kB / 0.6572 GB, free: 2.902 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001567/0.7493, allocations: 5.781 kB / 0.6572 GB, free: 2.898 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002078/0.7495, allocations: 59.78 kB / 0.6573 GB, free: 2.816 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002353/0.7497, allocations: 0.692 MB / 0.658 GB, free: 2.098 MB / 474.7 MB Notification: Performance of SimCode: time 2.51e-07/0.7497, allocations: 4 kB / 0.658 GB, free: 2.094 MB / 474.7 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselY0.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselY0.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselY0.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselY0.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_BesselY0_fmu --startTime=0.1 --stopTime=30 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_BesselY0.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselY0.pipe 2>&1)