Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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/BuildSysPro 3.5.0/package.mo): time 0.9366/0.9366, allocations: 127.4 MB / 134.6 MB, free: 4.074 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001521/0.001521, allocations: 189.2 kB / 164.4 MB, free: 6.895 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.736/1.736, allocations: 205.1 MB / 399.1 MB, free: 6.172 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001001/0.001002, allocations: 79.95 kB / 476.3 MB, free: 8.938 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3443/0.3453, allocations: 82.89 MB / 0.5461 GB, free: 42.63 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1761/0.5214, allocations: 76.74 MB / 0.621 GB, free: 13.81 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4955/1.017, allocations: 102 MB / 0.7206 GB, free: 10.34 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002389/1.017, allocations: 75.95 kB / 0.7207 GB, free: 10.27 MB / 490.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.005259/1.023, allocations: 1.647 MB / 0.7223 GB, free: 8.582 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/1.023, allocations: 8 kB / 0.7223 GB, free: 8.574 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.411e-05/1.023, allocations: 4 kB / 0.7223 GB, free: 8.57 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002093/1.023, allocations: 170.9 kB / 0.7224 GB, free: 8.363 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/1.023, allocations: 0 / 0.7224 GB, free: 8.363 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.263e-05/1.023, allocations: 4 kB / 0.7224 GB, free: 8.359 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.901e-05/1.023, allocations: 11.98 kB / 0.7225 GB, free: 8.348 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.033e-05/1.023, allocations: 30.45 kB / 0.7225 GB, free: 8.312 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.946e-06/1.023, allocations: 0 / 0.7225 GB, free: 8.312 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/1.023, allocations: 0 / 0.7225 GB, free: 8.312 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/1.023, allocations: 4 kB / 0.7225 GB, free: 8.309 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004964/1.024, allocations: 253.4 kB / 0.7227 GB, free: 8.023 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.498e-05/1.024, allocations: 22.58 kB / 0.7228 GB, free: 7.992 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.859e-05/1.024, allocations: 8.922 kB / 0.7228 GB, free: 7.98 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006564/1.024, allocations: 445.5 kB / 0.7232 GB, free: 7.453 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.613e-05/1.024, allocations: 35.22 kB / 0.7232 GB, free: 7.41 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 1.323e-06/1.024, allocations: 0 / 0.7232 GB, free: 7.41 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001854/1.025, allocations: 45.61 kB / 0.7233 GB, free: 7.359 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.624e-05/1.025, allocations: 59.33 kB / 0.7233 GB, free: 7.289 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.717e-05/1.025, allocations: 91.56 kB / 0.7234 GB, free: 7.195 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.267e-05/1.025, allocations: 25.7 kB / 0.7234 GB, free: 7.164 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.884e-05/1.025, allocations: 84.14 kB / 0.7235 GB, free: 7.078 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.53e-05/1.025, allocations: 7.844 kB / 0.7235 GB, free: 7.07 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.348e-06/1.025, allocations: 4 kB / 0.7235 GB, free: 7.066 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001127/1.025, allocations: 314.8 kB / 0.7238 GB, free: 6.75 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.944e-05/1.025, allocations: 8.031 kB / 0.7238 GB, free: 6.742 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.248e-05/1.025, allocations: 7.984 kB / 0.7238 GB, free: 6.734 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.845e-05/1.025, allocations: 4 kB / 0.7238 GB, free: 6.73 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/1.025, allocations: 0 / 0.7238 GB, free: 6.73 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.838e-05/1.025, allocations: 37.7 kB / 0.7239 GB, free: 6.688 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/1.025, allocations: 11.91 kB / 0.7239 GB, free: 6.676 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/1.025, allocations: 0 / 0.7239 GB, free: 6.676 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/1.025, allocations: 2.5 kB / 0.7239 GB, free: 6.676 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001007/1.025, allocations: 16.08 kB / 0.7239 GB, free: 6.66 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/1.025, allocations: 0 / 0.7239 GB, free: 6.66 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.701e-05/1.025, allocations: 15.92 kB / 0.7239 GB, free: 6.645 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-06/1.025, allocations: 0 / 0.7239 GB, free: 6.645 MB / 490.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.03e-05/1.025, allocations: 101 kB / 0.724 GB, free: 6.539 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.943e-05/1.026, allocations: 11.91 kB / 0.724 GB, free: 6.527 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001213/1.026, allocations: 49 kB / 0.7241 GB, free: 6.477 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/1.026, allocations: 0 / 0.7241 GB, free: 6.477 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/1.026, allocations: 0 / 0.7241 GB, free: 6.477 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/1.026, allocations: 0 / 0.7241 GB, free: 6.477 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001204/1.026, allocations: 130.2 kB / 0.7242 GB, free: 6.312 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/1.026, allocations: 0 / 0.7242 GB, free: 6.312 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.003e-05/1.026, allocations: 15.98 kB / 0.7242 GB, free: 6.297 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/1.026, allocations: 7.938 kB / 0.7242 GB, free: 6.289 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/1.026, allocations: 0 / 0.7242 GB, free: 6.289 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/1.026, allocations: 0 / 0.7242 GB, free: 6.289 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/1.026, allocations: 0 / 0.7242 GB, free: 6.289 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001093/1.026, allocations: 143.5 kB / 0.7244 GB, free: 6.133 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002271/1.026, allocations: 0.5118 MB / 0.7249 GB, free: 5.602 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.038e-05/1.026, allocations: 81.02 kB / 0.7249 GB, free: 5.504 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.654e-05/1.026, allocations: 4.859 kB / 0.7249 GB, free: 5.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.312e-05/1.026, allocations: 11.98 kB / 0.725 GB, free: 5.488 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.551e-05/1.026, allocations: 0 / 0.725 GB, free: 5.488 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.925e-06/1.026, allocations: 0 / 0.725 GB, free: 5.488 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.933e-05/1.027, allocations: 83.31 kB / 0.725 GB, free: 5.406 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0008159/1.027, allocations: 35.92 kB / 0.7251 GB, free: 5.371 MB / 490.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.0003254/1.028, allocations: 139 kB / 0.7252 GB, free: 5.227 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 7.381e-05/1.028, allocations: 12 kB / 0.7252 GB, free: 5.215 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/1.028, allocations: 0 / 0.7252 GB, free: 5.215 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.026e-05/1.028, allocations: 4 kB / 0.7252 GB, free: 5.211 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001769/1.028, allocations: 11.84 kB / 0.7252 GB, free: 5.199 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002313/1.028, allocations: 60.03 kB / 0.7253 GB, free: 5.117 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003582/1.029, allocations: 0.6919 MB / 0.726 GB, free: 4.398 MB / 490.7 MB Notification: Performance of SimCode: time 2.61e-07/1.029, allocations: 3.938 kB / 0.726 GB, free: 4.395 MB / 490.7 MB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_BesselJ1.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1.pipe 2>&1)