Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.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.Examples.BesselJ0,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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/BuildSysPro 3.5.0/package.mo): time 0.7385/0.7385, 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.001126/0.001126, allocations: 185.2 kB / 164.4 MB, free: 6.898 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.694/1.694, allocations: 205.1 MB / 399.1 MB, free: 6.086 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.0009644/0.0009648, allocations: 89.7 kB / 476.3 MB, free: 8.84 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3223/0.3233, allocations: 82.89 MB / 0.5461 GB, free: 42.66 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1749/0.4982, allocations: 76.74 MB / 0.621 GB, free: 13.84 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4863/0.9846, allocations: 101.9 MB / 0.7205 GB, free: 10.47 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002503/0.9849, allocations: 71.95 kB / 0.7206 GB, free: 10.4 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.005076/0.99, allocations: 1.616 MB / 0.7222 GB, free: 8.746 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.9901, allocations: 8 kB / 0.7222 GB, free: 8.738 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.847e-05/0.9901, allocations: 4 kB / 0.7222 GB, free: 8.734 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000118/0.9902, allocations: 164 kB / 0.7224 GB, free: 8.535 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.9903, allocations: 0 / 0.7224 GB, free: 8.535 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.206e-05/0.9903, allocations: 11.98 kB / 0.7224 GB, free: 8.523 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.426e-05/0.9903, allocations: 11.94 kB / 0.7224 GB, free: 8.512 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.028e-05/0.9904, allocations: 29.7 kB / 0.7224 GB, free: 8.477 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.151e-06/0.9904, allocations: 0 / 0.7224 GB, free: 8.477 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.9904, allocations: 0 / 0.7224 GB, free: 8.477 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.9905, allocations: 4 kB / 0.7224 GB, free: 8.473 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000397/0.9909, allocations: 257.3 kB / 0.7227 GB, free: 8.184 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.866e-05/0.9909, allocations: 22.58 kB / 0.7227 GB, free: 8.152 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.807e-05/0.991, allocations: 8.922 kB / 0.7227 GB, free: 8.141 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006058/0.9916, allocations: 445.5 kB / 0.7231 GB, free: 7.613 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.282e-05/0.9916, allocations: 31.12 kB / 0.7231 GB, free: 7.574 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 1.232e-06/0.9916, allocations: 0 / 0.7231 GB, free: 7.574 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001994/0.9918, allocations: 41.61 kB / 0.7232 GB, free: 7.527 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.351e-05/0.9919, allocations: 55.34 kB / 0.7232 GB, free: 7.461 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.539e-05/0.992, allocations: 97.02 kB / 0.7233 GB, free: 7.359 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.423e-05/0.992, allocations: 25.7 kB / 0.7234 GB, free: 7.328 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.814e-05/0.992, allocations: 84.14 kB / 0.7234 GB, free: 7.242 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.807e-05/0.9921, allocations: 7.906 kB / 0.7234 GB, free: 7.234 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.647e-06/0.9921, allocations: 0 / 0.7234 GB, free: 7.234 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.9922, allocations: 313.4 kB / 0.7237 GB, free: 6.922 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.713e-05/0.9922, allocations: 8 kB / 0.7237 GB, free: 6.914 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.029e-05/0.9922, allocations: 0 / 0.7237 GB, free: 6.914 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.224e-05/0.9923, allocations: 8.062 kB / 0.7238 GB, free: 6.906 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.9923, allocations: 0 / 0.7238 GB, free: 6.906 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.957e-05/0.9924, allocations: 45.69 kB / 0.7238 GB, free: 6.855 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.9924, allocations: 7.906 kB / 0.7238 GB, free: 6.848 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.9924, allocations: 0 / 0.7238 GB, free: 6.848 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.9924, allocations: 0 / 0.7238 GB, free: 6.848 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/0.9925, allocations: 11.98 kB / 0.7238 GB, free: 6.836 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.9926, allocations: 0 / 0.7238 GB, free: 6.836 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.956e-05/0.9926, allocations: 17.66 kB / 0.7238 GB, free: 6.82 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-06/0.9926, allocations: 3.938 kB / 0.7238 GB, free: 6.816 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.849e-05/0.9927, allocations: 109 kB / 0.7239 GB, free: 6.703 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.588e-05/0.9927, allocations: 3.906 kB / 0.7239 GB, free: 6.699 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001305/0.9929, allocations: 49.55 kB / 0.724 GB, free: 6.648 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.9929, allocations: 4.031 kB / 0.724 GB, free: 6.645 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.9929, allocations: 0 / 0.724 GB, free: 6.645 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.9929, allocations: 192 / 0.724 GB, free: 6.645 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001229/0.993, allocations: 130.2 kB / 0.7241 GB, free: 6.48 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.993, allocations: 4 kB / 0.7241 GB, free: 6.477 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.038e-05/0.9931, allocations: 15.97 kB / 0.7241 GB, free: 6.461 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.9931, allocations: 3.906 kB / 0.7241 GB, free: 6.457 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.144e-06/0.9931, allocations: 0 / 0.7241 GB, free: 6.457 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.846e-06/0.9932, allocations: 11.94 kB / 0.7242 GB, free: 6.445 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.9932, allocations: 0 / 0.7242 GB, free: 6.445 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001068/0.9933, allocations: 143.5 kB / 0.7243 GB, free: 6.289 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002235/0.9935, allocations: 0.5038 MB / 0.7248 GB, free: 5.766 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.11e-05/0.9936, allocations: 89.06 kB / 0.7249 GB, free: 5.66 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.244e-05/0.9936, allocations: 0 / 0.7249 GB, free: 5.66 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.005e-05/0.9937, allocations: 8 kB / 0.7249 GB, free: 5.652 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.489e-05/0.9937, allocations: 3.984 kB / 0.7249 GB, free: 5.648 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-06/0.9937, allocations: 0 / 0.7249 GB, free: 5.648 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.321e-05/0.9938, allocations: 79.28 kB / 0.725 GB, free: 5.57 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0008111/0.9946, allocations: 27.94 kB / 0.725 GB, free: 5.543 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.0002799/0.9949, allocations: 135.2 kB / 0.7251 GB, free: 5.402 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 8.948e-05/0.995, allocations: 12 kB / 0.7251 GB, free: 5.391 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.995, allocations: 4 kB / 0.7251 GB, free: 5.387 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.935e-05/0.995, allocations: 4 kB / 0.7251 GB, free: 5.383 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001742/0.9952, allocations: 15.81 kB / 0.7251 GB, free: 5.367 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002154/0.9954, allocations: 55.92 kB / 0.7252 GB, free: 5.289 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004264/0.9958, allocations: 0.6881 MB / 0.7259 GB, free: 4.574 MB / 490.7 MB Notification: Performance of SimCode: time 2.81e-07/0.9958, allocations: 4 kB / 0.7259 GB, free: 4.57 MB / 490.7 MB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_BesselJ0.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0.pipe 2>&1)