Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.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.BesselJ0,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.BesselJ0,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselJ0",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.7907/0.7907, allocations: 141.8 MB / 149.1 MB, free: 3.078 MB / 114.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 184 kB / 181.9 MB, free: 4.266 MB / 146.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.251/1.251, allocations: 221.4 MB / 436 MB, free: 4.215 MB / 338.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000955/0.0009549, allocations: 98.69 kB / 0.507 GB, free: 2.316 MB / 386.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001808/0.001808, allocations: 265.8 kB / 0.5884 GB, free: 14.93 MB / 482.9 MB Notification: Performance of FrontEnd - loaded program: time 0.2803/0.2821, allocations: 89.64 MB / 0.676 GB, free: 138.8 MB / 498.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1284/0.4105, allocations: 82.79 MB / 0.7568 GB, free: 56.45 MB / 498.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3679/0.7784, allocations: 108 MB / 0.8623 GB, free: 3.254 MB / 498.9 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001706/0.7786, allocations: 75.94 kB / 0.8624 GB, free: 3.215 MB / 498.9 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.004002/0.7827, allocations: 1.571 MB / 0.8639 GB, free: 1.82 MB / 498.9 MB Notification: Performance of prepare preOptimizeDAE: time 2.923e-05/0.7827, allocations: 8 kB / 0.8639 GB, free: 1.812 MB / 498.9 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.529e-05/0.7827, allocations: 0 / 0.8639 GB, free: 1.812 MB / 498.9 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.113e-05/0.7828, allocations: 170.9 kB / 0.8641 GB, free: 1.605 MB / 498.9 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/0.7828, allocations: 0 / 0.8641 GB, free: 1.605 MB / 498.9 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.147e-06/0.7828, allocations: 0 / 0.8641 GB, free: 1.605 MB / 498.9 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.604e-05/0.7829, allocations: 10.81 kB / 0.8641 GB, free: 1.598 MB / 498.9 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.445e-05/0.783, allocations: 36.25 kB / 0.8641 GB, free: 1.559 MB / 498.9 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.031e-06/0.783, allocations: 0 / 0.8641 GB, free: 1.559 MB / 498.9 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.045e-06/0.783, allocations: 0 / 0.8641 GB, free: 1.559 MB / 498.9 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.783, allocations: 0 / 0.8641 GB, free: 1.559 MB / 498.9 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000293/0.7833, allocations: 252.2 kB / 0.8643 GB, free: 1.285 MB / 498.9 MB Notification: Performance of preOpt comSubExp (simulation): time 3.89e-05/0.7833, allocations: 30.52 kB / 0.8644 GB, free: 1.246 MB / 498.9 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.084e-05/0.7834, allocations: 12.3 kB / 0.8644 GB, free: 1.234 MB / 498.9 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004214/0.7838, allocations: 433.5 kB / 0.8648 GB, free: 0.7188 MB / 498.9 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.655e-05/0.7838, allocations: 42.17 kB / 0.8648 GB, free: 0.6719 MB / 498.9 MB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.7838, allocations: 8.875 kB / 0.8648 GB, free: 0.6641 MB / 498.9 MB Notification: Performance of matching and sorting (n=2): time 0.0001434/0.784, allocations: 37.61 kB / 0.8649 GB, free: 0.6211 MB / 498.9 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.391e-05/0.784, allocations: 54.78 kB / 0.8649 GB, free: 0.5586 MB / 498.9 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.869e-05/0.784, allocations: 92.98 kB / 0.865 GB, free: 472 kB / 498.9 MB Notification: Performance of collectPreVariables (initialization): time 6.402e-06/0.7841, allocations: 25.7 kB / 0.865 GB, free: 440 kB / 498.9 MB Notification: Performance of collectInitialEqns (initialization): time 3.068e-05/0.7841, allocations: 91.88 kB / 0.8651 GB, free: 348 kB / 498.9 MB Notification: Performance of collectInitialBindings (initialization): time 1.311e-05/0.7841, allocations: 3.906 kB / 0.8651 GB, free: 344 kB / 498.9 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.136e-06/0.7841, allocations: 0 / 0.8651 GB, free: 344 kB / 498.9 MB Notification: Performance of setup shared object (initialization): time 5.211e-05/0.7842, allocations: 318.9 kB / 0.8654 GB, free: 16.02 MB / 0.5028 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.444e-05/0.7842, allocations: 7.188 kB / 0.8655 GB, free: 16.01 MB / 0.5028 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.151e-05/0.7842, allocations: 7.938 kB / 0.8655 GB, free: 16 MB / 0.5028 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.74e-05/0.7843, allocations: 4 kB / 0.8655 GB, free: 16 MB / 0.5028 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.7843, allocations: 0 / 0.8655 GB, free: 16 MB / 0.5028 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.367e-05/0.7843, allocations: 45.53 kB / 0.8655 GB, free: 15.95 MB / 0.5028 GB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.7844, allocations: 8 kB / 0.8655 GB, free: 15.95 MB / 0.5028 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.7844, allocations: 0 / 0.8655 GB, free: 15.95 MB / 0.5028 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.536e-06/0.7844, allocations: 96 / 0.8655 GB, free: 15.95 MB / 0.5028 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.447e-05/0.7845, allocations: 12 kB / 0.8655 GB, free: 15.93 MB / 0.5028 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.7845, allocations: 3.984 kB / 0.8655 GB, free: 15.93 MB / 0.5028 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.669e-05/0.7846, allocations: 8 kB / 0.8655 GB, free: 15.92 MB / 0.5028 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.569e-06/0.7846, allocations: 0 / 0.8655 GB, free: 15.92 MB / 0.5028 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 8.973e-05/0.7847, allocations: 108.2 kB / 0.8656 GB, free: 15.81 MB / 0.5028 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.73e-05/0.7847, allocations: 7.906 kB / 0.8656 GB, free: 15.8 MB / 0.5028 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001076/0.7848, allocations: 48.69 kB / 0.8657 GB, free: 15.76 MB / 0.5028 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.7848, allocations: 0 / 0.8657 GB, free: 15.76 MB / 0.5028 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.7848, allocations: 2.25 kB / 0.8657 GB, free: 15.76 MB / 0.5028 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.7848, allocations: 0 / 0.8657 GB, free: 15.76 MB / 0.5028 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001307/0.785, allocations: 141.8 kB / 0.8658 GB, free: 15.59 MB / 0.5028 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.785, allocations: 0 / 0.8658 GB, free: 15.59 MB / 0.5028 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.183e-05/0.7851, allocations: 16.03 kB / 0.8658 GB, free: 15.57 MB / 0.5028 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.7851, allocations: 3.984 kB / 0.8658 GB, free: 15.57 MB / 0.5028 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.153e-06/0.7851, allocations: 0 / 0.8658 GB, free: 15.57 MB / 0.5028 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.7851, allocations: 0 / 0.8658 GB, free: 15.57 MB / 0.5028 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.582e-06/0.7851, allocations: 0 / 0.8658 GB, free: 15.57 MB / 0.5028 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001279/0.7852, allocations: 135 kB / 0.866 GB, free: 15.42 MB / 0.5028 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002107/0.7854, allocations: 0.5068 MB / 0.8665 GB, free: 14.9 MB / 0.5028 GB Notification: Performance of postOpt removeConstants (simulation): time 3.169e-05/0.7855, allocations: 88.95 kB / 0.8666 GB, free: 14.8 MB / 0.5028 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.277e-05/0.7855, allocations: 0 / 0.8666 GB, free: 14.8 MB / 0.5028 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.346e-05/0.7856, allocations: 11.98 kB / 0.8666 GB, free: 14.79 MB / 0.5028 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.002e-05/0.7856, allocations: 7.344 kB / 0.8666 GB, free: 14.78 MB / 0.5028 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.7857, allocations: 1.062 kB / 0.8666 GB, free: 14.78 MB / 0.5028 GB Notification: Performance of sort global known variables: time 4.327e-05/0.7857, allocations: 83.27 kB / 0.8667 GB, free: 14.7 MB / 0.5028 GB Notification: Performance of remove unused functions: time 0.0007968/0.7865, allocations: 27.88 kB / 0.8667 GB, free: 14.68 MB / 0.5028 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.0002261/0.7867, allocations: 123.2 kB / 0.8668 GB, free: 14.54 MB / 0.5028 GB Notification: Performance of simCode: created initialization part: time 6.388e-05/0.7868, allocations: 15.69 kB / 0.8668 GB, free: 14.53 MB / 0.5028 GB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.7868, allocations: 0 / 0.8668 GB, free: 14.53 MB / 0.5028 GB Notification: Performance of simCode: created simulation system equations: time 1.976e-05/0.7868, allocations: 8 kB / 0.8668 GB, free: 14.52 MB / 0.5028 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001547/0.787, allocations: 8.031 kB / 0.8668 GB, free: 14.52 MB / 0.5028 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000192/0.7872, allocations: 62.97 kB / 0.8669 GB, free: 14.43 MB / 0.5028 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002677/0.7875, allocations: 0.6957 MB / 0.8676 GB, free: 13.71 MB / 0.5028 GB Notification: Performance of SimCode: time 2.6e-07/0.7875, allocations: 0 / 0.8676 GB, free: 13.71 MB / 0.5028 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselJ0.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe 2>&1)