Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ0.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.Functions.Examples.BesselJ0,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_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/BuildSysPro 3.5.0/package.mo): time 0.8008/0.8008, allocations: 127.4 MB / 134.6 MB, free: 4.082 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.001058/0.001058, allocations: 181.3 kB / 164.4 MB, free: 6.891 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.48/1.48, allocations: 205.1 MB / 399.1 MB, free: 6.102 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.001078/0.001078, allocations: 90.19 kB / 476.3 MB, free: 8.859 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2654/0.2665, allocations: 82.9 MB / 0.5461 GB, free: 42.66 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.4086, allocations: 76.74 MB / 0.621 GB, free: 13.85 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4237/0.8324, allocations: 101.2 MB / 0.7199 GB, free: 11.09 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002411/0.8326, allocations: 75.95 kB / 0.7199 GB, free: 11.02 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.003575/0.8362, allocations: 1.293 MB / 0.7212 GB, free: 9.691 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.8363, allocations: 8 kB / 0.7212 GB, free: 9.684 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.459e-05/0.8363, allocations: 7.984 kB / 0.7212 GB, free: 9.676 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001117/0.8364, allocations: 159.1 kB / 0.7214 GB, free: 9.48 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.735e-06/0.8364, allocations: 0 / 0.7214 GB, free: 9.48 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.628e-06/0.8365, allocations: 0 / 0.7214 GB, free: 9.48 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.448e-05/0.8365, allocations: 0 / 0.7214 GB, free: 9.48 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.139e-05/0.8366, allocations: 33.7 kB / 0.7214 GB, free: 9.441 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.8366, allocations: 3.906 kB / 0.7214 GB, free: 9.438 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-06/0.8366, allocations: 0 / 0.7214 GB, free: 9.438 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.8366, allocations: 3.938 kB / 0.7214 GB, free: 9.434 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001357/0.8368, allocations: 130.2 kB / 0.7215 GB, free: 9.27 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.41e-05/0.8368, allocations: 14.67 kB / 0.7216 GB, free: 9.246 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.59e-05/0.8368, allocations: 8.859 kB / 0.7216 GB, free: 9.234 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005929/0.8374, allocations: 433.5 kB / 0.722 GB, free: 8.719 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.612e-05/0.8375, allocations: 42.55 kB / 0.722 GB, free: 8.668 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.8375, allocations: 0 / 0.722 GB, free: 8.668 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.000147/0.8376, allocations: 29.7 kB / 0.722 GB, free: 8.633 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.126e-05/0.8377, allocations: 55.44 kB / 0.7221 GB, free: 8.566 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.699e-05/0.8377, allocations: 85 kB / 0.7222 GB, free: 8.477 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.901e-05/0.8378, allocations: 29.64 kB / 0.7222 GB, free: 8.441 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.125e-05/0.8378, allocations: 80.14 kB / 0.7223 GB, free: 8.359 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.763e-05/0.8378, allocations: 3.906 kB / 0.7223 GB, free: 8.355 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.575e-06/0.8378, allocations: 0 / 0.7223 GB, free: 8.355 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001845/0.838, allocations: 313.4 kB / 0.7226 GB, free: 8.043 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.472e-06/0.838, allocations: 0 / 0.7226 GB, free: 8.043 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.392e-06/0.8381, allocations: 8 kB / 0.7226 GB, free: 8.035 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.543e-05/0.8381, allocations: 0 / 0.7226 GB, free: 8.035 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.8381, allocations: 0 / 0.7226 GB, free: 8.035 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.529e-05/0.8382, allocations: 37.69 kB / 0.7226 GB, free: 7.992 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.8382, allocations: 8 kB / 0.7226 GB, free: 7.984 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.8382, allocations: 0 / 0.7226 GB, free: 7.984 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.8382, allocations: 3.906 kB / 0.7226 GB, free: 7.98 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.817e-05/0.8383, allocations: 0 / 0.7226 GB, free: 7.98 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.8383, allocations: 4.688 kB / 0.7226 GB, free: 7.977 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.025e-05/0.8383, allocations: 0 / 0.7226 GB, free: 7.977 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/0.8383, allocations: 10.66 kB / 0.7227 GB, free: 7.969 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 (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.482e-05/0.8384, allocations: 101 kB / 0.7227 GB, free: 7.863 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.751e-06/0.8384, allocations: 0 / 0.7227 GB, free: 7.863 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.364e-05/0.8385, allocations: 44.61 kB / 0.7228 GB, free: 7.816 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.8385, allocations: 3.906 kB / 0.7228 GB, free: 7.812 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.8385, allocations: 0 / 0.7228 GB, free: 7.812 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.8385, allocations: 3.938 kB / 0.7228 GB, free: 7.809 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.538e-05/0.8386, allocations: 126.2 kB / 0.7229 GB, free: 7.648 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.8386, allocations: 32 / 0.7229 GB, free: 7.648 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.282e-05/0.8386, allocations: 7.984 kB / 0.7229 GB, free: 7.641 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.8386, allocations: 0 / 0.7229 GB, free: 7.641 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.539e-06/0.8386, allocations: 0 / 0.7229 GB, free: 7.641 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.8386, allocations: 0 / 0.7229 GB, free: 7.641 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.8386, allocations: 4 kB / 0.7229 GB, free: 7.637 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 6.757e-05/0.8387, allocations: 60.98 kB / 0.723 GB, free: 7.559 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001805/0.8389, allocations: 437.6 kB / 0.7234 GB, free: 7.109 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.613e-05/0.8389, allocations: 85.02 kB / 0.7235 GB, free: 7.008 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.038e-05/0.839, allocations: 0 / 0.7235 GB, free: 7.008 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.213e-06/0.839, allocations: 0 / 0.7235 GB, free: 7.008 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.061e-05/0.839, allocations: 0 / 0.7235 GB, free: 7.008 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-06/0.839, allocations: 0 / 0.7235 GB, free: 7.008 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.605e-05/0.839, allocations: 79.27 kB / 0.7236 GB, free: 6.93 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0007925/0.8398, allocations: 27.97 kB / 0.7236 GB, free: 6.902 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 (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.0002886/0.8401, allocations: 135.2 kB / 0.7237 GB, free: 6.762 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 4.91e-05/0.8402, allocations: 7.938 kB / 0.7237 GB, free: 6.754 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.8402, allocations: 0 / 0.7237 GB, free: 6.754 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 6.543e-06/0.8402, allocations: 4 kB / 0.7237 GB, free: 6.75 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.331e-05/0.8403, allocations: 3.906 kB / 0.7237 GB, free: 6.746 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001457/0.8404, allocations: 44.06 kB / 0.7238 GB, free: 6.68 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003558/0.8408, allocations: 0.6802 MB / 0.7244 GB, free: 5.973 MB / 490.7 MB Notification: Performance of SimCode: time 2.505e-06/0.8408, allocations: 4.125 kB / 0.7244 GB, free: 5.969 MB / 490.7 MB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_BesselJ0.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1)