Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.BesselY0,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.BesselY0,fileNamePrefix="BuildingSystems_BuildingSystems_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/BuildingSystems 2.0.0-master/package.mo): time 0.7197/0.7197, allocations: 141.8 MB / 149.1 MB, free: 1.48 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 185.2 kB / 182 MB, free: 0.8516 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.234/1.234, allocations: 221.4 MB / 436 MB, free: 5.422 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008796/0.0008796, allocations: 96.12 kB / 0.507 GB, free: 2.09 MB / 410.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001642/0.001642, allocations: 288.3 kB / 0.5885 GB, free: 47.21 MB / 410.9 MB Notification: Performance of FrontEnd - loaded program: time 0.3284/0.3301, allocations: 89.64 MB / 0.676 GB, free: 59.49 MB / 442.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.4645, allocations: 82.79 MB / 0.7568 GB, free: 0.5625 MB / 442.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1315/0.596, allocations: 107.6 MB / 0.8619 GB, free: 4.836 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002219/0.5963, allocations: 73.98 kB / 0.862 GB, free: 4.766 MB / 0.5419 GB 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.00642/0.6027, allocations: 2.109 MB / 0.864 GB, free: 2.613 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.6028, allocations: 11.94 kB / 0.864 GB, free: 2.602 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.478e-05/0.6028, allocations: 0 / 0.864 GB, free: 2.602 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.142e-05/0.6029, allocations: 163.3 kB / 0.8642 GB, free: 2.402 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.181e-05/0.6029, allocations: 4 kB / 0.8642 GB, free: 2.398 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.598e-06/0.6029, allocations: 7.844 kB / 0.8642 GB, free: 2.391 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.39e-05/0.603, allocations: 7.984 kB / 0.8642 GB, free: 2.383 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.42e-05/0.603, allocations: 25.7 kB / 0.8642 GB, free: 2.352 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.322e-06/0.603, allocations: 0 / 0.8642 GB, free: 2.352 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.502e-06/0.6031, allocations: 0 / 0.8642 GB, free: 2.352 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.658e-06/0.6031, allocations: 0 / 0.8642 GB, free: 2.352 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001116/0.6032, allocations: 126.3 kB / 0.8643 GB, free: 2.191 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 3.214e-05/0.6032, allocations: 22.58 kB / 0.8644 GB, free: 2.16 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.641e-05/0.6032, allocations: 4.859 kB / 0.8644 GB, free: 2.152 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005416/0.6038, allocations: 445.5 kB / 0.8648 GB, free: 1.625 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.744e-05/0.6038, allocations: 42.44 kB / 0.8648 GB, free: 1.574 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=1): time 1.183e-06/0.6038, allocations: 0 / 0.8648 GB, free: 1.574 MB / 0.5419 GB Notification: Performance of matching and sorting (n=1): time 0.0001236/0.604, allocations: 37.59 kB / 0.8649 GB, free: 1.531 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.902e-05/0.604, allocations: 51.41 kB / 0.8649 GB, free: 1.469 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.941e-05/0.604, allocations: 85 kB / 0.865 GB, free: 1.379 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 1.153e-05/0.6041, allocations: 25.7 kB / 0.865 GB, free: 1.348 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 2.833e-05/0.6041, allocations: 80.14 kB / 0.8651 GB, free: 1.266 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 2.387e-05/0.6041, allocations: 7.969 kB / 0.8651 GB, free: 1.258 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.813e-06/0.6041, allocations: 0 / 0.8651 GB, free: 1.258 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 9.6e-05/0.6042, allocations: 318.8 kB / 0.8654 GB, free: 0.9375 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.102e-06/0.6042, allocations: 0 / 0.8654 GB, free: 0.9375 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.707e-06/0.6042, allocations: 0 / 0.8654 GB, free: 0.9375 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.428e-05/0.6043, allocations: 0 / 0.8654 GB, free: 0.9375 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.6043, allocations: 0 / 0.8654 GB, free: 0.9375 MB / 0.5419 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.285e-05/0.6043, allocations: 41.55 kB / 0.8655 GB, free: 0.8906 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.6044, allocations: 7.984 kB / 0.8655 GB, free: 0.8828 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.6044, allocations: 4.094 kB / 0.8655 GB, free: 0.8789 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.6044, allocations: 0 / 0.8655 GB, free: 0.8789 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.722e-05/0.6044, allocations: 4 kB / 0.8655 GB, free: 0.875 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.356e-06/0.6044, allocations: 0 / 0.8655 GB, free: 0.875 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.217e-06/0.6045, allocations: 0 / 0.8655 GB, free: 0.875 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.753e-06/0.6045, allocations: 0 / 0.8655 GB, free: 0.875 MB / 0.5419 GB 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 5.572e-05/0.6045, allocations: 104.9 kB / 0.8656 GB, free: 0.7656 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.794e-06/0.6045, allocations: 3.906 kB / 0.8656 GB, free: 0.7617 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.635e-05/0.6046, allocations: 40.67 kB / 0.8656 GB, free: 0.7148 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.6046, allocations: 4.031 kB / 0.8656 GB, free: 0.7109 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.6047, allocations: 4 kB / 0.8656 GB, free: 0.707 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.6047, allocations: 0 / 0.8656 GB, free: 0.707 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.777e-05/0.6047, allocations: 126.2 kB / 0.8657 GB, free: 0.5469 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.6047, allocations: 7.938 kB / 0.8657 GB, free: 0.5391 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.061e-05/0.6048, allocations: 0 / 0.8657 GB, free: 0.5391 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/0.6048, allocations: 4 kB / 0.8657 GB, free: 0.5352 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.251e-06/0.6048, allocations: 3.906 kB / 0.8658 GB, free: 0.5312 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.72e-07/0.6048, allocations: 0 / 0.8658 GB, free: 0.5312 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/0.6048, allocations: 0 / 0.8658 GB, free: 0.5312 MB / 0.5419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 6.632e-05/0.6049, allocations: 57.12 kB / 0.8658 GB, free: 468 kB / 0.5419 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001753/0.605, allocations: 441.4 kB / 0.8662 GB, free: 4 kB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.1826/0.7877, allocations: 77.11 kB / 0.8663 GB, free: 168.7 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.579e-05/0.7877, allocations: 3 kB / 0.8663 GB, free: 168.7 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.289e-05/0.7877, allocations: 3.062 kB / 0.8663 GB, free: 168.7 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.775e-05/0.7878, allocations: 0 / 0.8663 GB, free: 168.7 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.561e-06/0.7878, allocations: 3.406 kB / 0.8663 GB, free: 168.7 MB / 0.5419 GB Notification: Performance of sort global known variables: time 1.305e-05/0.7878, allocations: 78.84 kB / 0.8664 GB, free: 168.6 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0008872/0.7887, allocations: 40.94 kB / 0.8664 GB, free: 168.6 MB / 0.5419 GB 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.0003113/0.789, allocations: 178.2 kB / 0.8666 GB, free: 168.5 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 5.978e-05/0.7891, allocations: 0 / 0.8666 GB, free: 168.5 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.7891, allocations: 3.594 kB / 0.8666 GB, free: 168.5 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 5.31e-06/0.7891, allocations: 5.25 kB / 0.8666 GB, free: 168.5 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.264e-05/0.7892, allocations: 0 / 0.8666 GB, free: 168.5 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001252/0.7893, allocations: 40.05 kB / 0.8666 GB, free: 168.4 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.673e-05/0.7894, allocations: 0.6836 MB / 0.8673 GB, free: 167.7 MB / 0.5419 GB Notification: Performance of SimCode: time 8.81e-07/0.7894, allocations: 0 / 0.8673 GB, free: 167.7 MB / 0.5419 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselY0_fmu --startTime=0.1 --stopTime=30 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselY0.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0.pipe 2>&1)