Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.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.Examples.BesselJ1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.BesselJ1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselJ1",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.7058/0.7058, allocations: 141.8 MB / 149.1 MB, free: 4.551 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.001/0.001, allocations: 179.9 kB / 181.9 MB, free: 196 kB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.253/1.253, allocations: 221.3 MB / 436 MB, free: 9.324 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.0009249/0.0009249, allocations: 96.02 kB / 0.507 GB, free: 24.27 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001818/0.001818, allocations: 278.6 kB / 0.5885 GB, free: 12.35 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.1857/0.1875, allocations: 89.64 MB / 0.676 GB, free: 2.625 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3674/0.555, allocations: 82.76 MB / 0.7568 GB, free: 112.9 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1161/0.6711, allocations: 108 MB / 0.8623 GB, free: 4.723 MB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001972/0.6713, allocations: 75.89 kB / 0.8624 GB, free: 4.652 MB / 0.5263 GB 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.004778/0.6761, allocations: 1.606 MB / 0.864 GB, free: 3.027 MB / 0.5263 GB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.6762, allocations: 8 kB / 0.864 GB, free: 3.02 MB / 0.5263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.658e-05/0.6762, allocations: 4.844 kB / 0.864 GB, free: 3.016 MB / 0.5263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.373e-05/0.6763, allocations: 174.9 kB / 0.8641 GB, free: 2.805 MB / 0.5263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.6763, allocations: 0.6562 kB / 0.8641 GB, free: 2.805 MB / 0.5263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.597e-06/0.6764, allocations: 3.984 kB / 0.8641 GB, free: 2.801 MB / 0.5263 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.701e-05/0.6764, allocations: 12.56 kB / 0.8642 GB, free: 2.789 MB / 0.5263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.562e-05/0.6765, allocations: 30.27 kB / 0.8642 GB, free: 2.754 MB / 0.5263 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.6765, allocations: 0.8125 kB / 0.8642 GB, free: 2.754 MB / 0.5263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.6765, allocations: 3.984 kB / 0.8642 GB, free: 2.75 MB / 0.5263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.6766, allocations: 0 / 0.8642 GB, free: 2.75 MB / 0.5263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003756/0.6769, allocations: 249.4 kB / 0.8644 GB, free: 2.473 MB / 0.5263 GB Notification: Performance of preOpt comSubExp (simulation): time 5.384e-05/0.677, allocations: 31.14 kB / 0.8645 GB, free: 2.434 MB / 0.5263 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.541e-05/0.677, allocations: 9.734 kB / 0.8645 GB, free: 2.422 MB / 0.5263 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000527/0.6776, allocations: 446.5 kB / 0.8649 GB, free: 1.898 MB / 0.5263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.633e-05/0.6776, allocations: 30.56 kB / 0.8649 GB, free: 1.859 MB / 0.5263 GB Notification: Performance of pre-optimization done (n=2): time 1.293e-06/0.6776, allocations: 0.6562 kB / 0.8649 GB, free: 1.859 MB / 0.5263 GB Notification: Performance of matching and sorting (n=2): time 0.0001817/0.6778, allocations: 46.19 kB / 0.865 GB, free: 1.809 MB / 0.5263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.659e-05/0.6778, allocations: 56.12 kB / 0.865 GB, free: 1.742 MB / 0.5263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.614e-05/0.6779, allocations: 89.84 kB / 0.8651 GB, free: 1.648 MB / 0.5263 GB Notification: Performance of collectPreVariables (initialization): time 7.013e-06/0.6779, allocations: 25.7 kB / 0.8651 GB, free: 1.617 MB / 0.5263 GB Notification: Performance of collectInitialEqns (initialization): time 1.736e-05/0.6779, allocations: 85.77 kB / 0.8652 GB, free: 1.531 MB / 0.5263 GB Notification: Performance of collectInitialBindings (initialization): time 1.378e-05/0.6779, allocations: 7.844 kB / 0.8652 GB, free: 1.523 MB / 0.5263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.737e-06/0.6779, allocations: 0 / 0.8652 GB, free: 1.523 MB / 0.5263 GB Notification: Performance of setup shared object (initialization): time 3.866e-05/0.678, allocations: 318.8 kB / 0.8655 GB, free: 1.203 MB / 0.5263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.493e-05/0.678, allocations: 8.562 kB / 0.8655 GB, free: 1.195 MB / 0.5263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.147e-05/0.678, allocations: 4.562 kB / 0.8655 GB, free: 1.191 MB / 0.5263 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.078e-05/0.6781, allocations: 4.656 kB / 0.8655 GB, free: 1.188 MB / 0.5263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.6781, allocations: 0.75 kB / 0.8655 GB, free: 1.188 MB / 0.5263 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.216e-05/0.6781, allocations: 42.52 kB / 0.8656 GB, free: 1.141 MB / 0.5263 GB Notification: Performance of prepare postOptimizeDAE: time 1.08e-05/0.6782, allocations: 4 kB / 0.8656 GB, free: 1.137 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.6782, allocations: 0 / 0.8656 GB, free: 1.137 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.6782, allocations: 0.5625 kB / 0.8656 GB, free: 1.137 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.735e-05/0.6783, allocations: 17.83 kB / 0.8656 GB, free: 1.121 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.638e-06/0.6783, allocations: 0 / 0.8656 GB, free: 1.121 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.461e-05/0.6784, allocations: 13.23 kB / 0.8656 GB, free: 1.109 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.75e-06/0.6784, allocations: 1.531 kB / 0.8656 GB, free: 1.109 MB / 0.5263 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 (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 3.683e-05/0.6784, allocations: 101 kB / 0.8657 GB, free: 1.004 MB / 0.5263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.574e-05/0.6785, allocations: 6.531 kB / 0.8657 GB, free: 1 MB / 0.5263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001033/0.6786, allocations: 56.44 kB / 0.8658 GB, free: 0.9453 MB / 0.5263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.6786, allocations: 4 kB / 0.8658 GB, free: 0.9414 MB / 0.5263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.6786, allocations: 1.281 kB / 0.8658 GB, free: 0.9414 MB / 0.5263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.6786, allocations: 0 / 0.8658 GB, free: 0.9414 MB / 0.5263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.994e-05/0.6787, allocations: 134.1 kB / 0.8659 GB, free: 0.7734 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.6787, allocations: 3.984 kB / 0.8659 GB, free: 0.7695 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.635e-05/0.6788, allocations: 9.312 kB / 0.8659 GB, free: 0.7617 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.6788, allocations: 4 kB / 0.8659 GB, free: 0.7578 MB / 0.5263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.071e-06/0.6788, allocations: 0 / 0.8659 GB, free: 0.7578 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.6788, allocations: 4 kB / 0.8659 GB, free: 0.7539 MB / 0.5263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.6788, allocations: 0 / 0.8659 GB, free: 0.7539 MB / 0.5263 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.023e-05/0.6789, allocations: 147.4 kB / 0.8661 GB, free: 0.5938 MB / 0.5263 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001162/0.679, allocations: 0.5078 MB / 0.8666 GB, free: 68 kB / 0.5263 GB Notification: Performance of postOpt removeConstants (simulation): time 3.636e-05/0.6791, allocations: 81.02 kB / 0.8666 GB, free: 15.97 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.67e-05/0.6791, allocations: 4 kB / 0.8666 GB, free: 15.96 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.114e-05/0.6792, allocations: 7.984 kB / 0.8667 GB, free: 15.95 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.362e-05/0.6792, allocations: 4 kB / 0.8667 GB, free: 15.95 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-06/0.6792, allocations: 32 / 0.8667 GB, free: 15.95 MB / 0.5419 GB Notification: Performance of sort global known variables: time 4.533e-05/0.6793, allocations: 79.47 kB / 0.8667 GB, free: 15.87 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0008235/0.6801, allocations: 35.92 kB / 0.8668 GB, free: 15.84 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 (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.0002539/0.6804, allocations: 139.2 kB / 0.8669 GB, free: 15.69 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 7.376e-05/0.6805, allocations: 15.94 kB / 0.8669 GB, free: 15.67 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.6805, allocations: 0 / 0.8669 GB, free: 15.67 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 2.175e-05/0.6805, allocations: 8 kB / 0.8669 GB, free: 15.66 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001608/0.6807, allocations: 10.34 kB / 0.8669 GB, free: 15.65 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002099/0.6809, allocations: 56.05 kB / 0.867 GB, free: 15.57 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002894/0.6812, allocations: 0.6929 MB / 0.8677 GB, free: 14.86 MB / 0.5419 GB Notification: Performance of SimCode: time 2.31e-07/0.6812, allocations: 0 / 0.8677 GB, free: 14.86 MB / 0.5419 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselJ1.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe 2>&1)