Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselY0.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.BesselY0,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.BesselY0,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_BesselY0",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.7312/0.7312, allocations: 127.4 MB / 134.6 MB, free: 4.141 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.001582/0.001582, allocations: 185.3 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.714/1.714, 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.0009595/0.0009597, allocations: 83 kB / 476.3 MB, free: 8.863 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3365/0.3375, allocations: 82.88 MB / 0.5461 GB, free: 42.68 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.181/0.5186, allocations: 76.75 MB / 0.621 GB, free: 13.84 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5057/1.024, allocations: 102.3 MB / 0.7209 GB, free: 10.04 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002627/1.025, allocations: 71.95 kB / 0.721 GB, free: 9.973 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.008281/1.033, allocations: 2.523 MB / 0.7234 GB, free: 7.418 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/1.033, allocations: 8 kB / 0.7234 GB, free: 7.41 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.03e-05/1.033, allocations: 7.984 kB / 0.7234 GB, free: 7.402 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000123/1.033, allocations: 167 kB / 0.7236 GB, free: 7.199 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/1.033, allocations: 3.938 kB / 0.7236 GB, free: 7.195 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.576e-06/1.033, allocations: 0 / 0.7236 GB, free: 7.195 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.247e-05/1.033, allocations: 12 kB / 0.7236 GB, free: 7.184 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.261e-05/1.033, allocations: 33.69 kB / 0.7236 GB, free: 7.145 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.577e-06/1.033, allocations: 0 / 0.7236 GB, free: 7.145 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/1.033, allocations: 0 / 0.7236 GB, free: 7.145 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/1.033, allocations: 0 / 0.7236 GB, free: 7.145 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004041/1.034, allocations: 249.3 kB / 0.7239 GB, free: 6.863 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.795e-05/1.034, allocations: 30.52 kB / 0.7239 GB, free: 6.824 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.863e-05/1.034, allocations: 12.92 kB / 0.7239 GB, free: 6.809 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000656/1.035, allocations: 441.5 kB / 0.7243 GB, free: 6.285 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.413e-05/1.035, allocations: 35.44 kB / 0.7244 GB, free: 6.242 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 1.193e-06/1.035, allocations: 4 kB / 0.7244 GB, free: 6.238 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.000213/1.035, allocations: 45.59 kB / 0.7244 GB, free: 6.188 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.373e-05/1.035, allocations: 51.41 kB / 0.7245 GB, free: 6.125 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.695e-05/1.035, allocations: 93 kB / 0.7246 GB, free: 6.027 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/1.035, allocations: 25.7 kB / 0.7246 GB, free: 5.996 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.887e-05/1.035, allocations: 80.89 kB / 0.7247 GB, free: 5.914 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.888e-05/1.035, allocations: 3.906 kB / 0.7247 GB, free: 5.91 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.218e-06/1.035, allocations: 0 / 0.7247 GB, free: 5.91 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000159/1.035, allocations: 322.9 kB / 0.725 GB, free: 5.586 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.363e-05/1.035, allocations: 4 kB / 0.725 GB, free: 5.582 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.496e-05/1.035, allocations: 7.938 kB / 0.725 GB, free: 5.574 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.081e-05/1.035, allocations: 8 kB / 0.725 GB, free: 5.566 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/1.035, allocations: 0 / 0.725 GB, free: 5.566 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.878e-05/1.036, allocations: 37.64 kB / 0.725 GB, free: 5.523 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/1.036, allocations: 15.84 kB / 0.725 GB, free: 5.508 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/1.036, allocations: 0 / 0.725 GB, free: 5.508 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/1.036, allocations: 3.984 kB / 0.725 GB, free: 5.504 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/1.036, allocations: 16.09 kB / 0.7251 GB, free: 5.488 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.758e-06/1.036, allocations: 0.7031 kB / 0.7251 GB, free: 5.488 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.616e-05/1.036, allocations: 11.98 kB / 0.7251 GB, free: 5.477 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.651e-06/1.036, allocations: 3.125 kB / 0.7251 GB, free: 5.477 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.805e-05/1.036, allocations: 105 kB / 0.7252 GB, free: 5.367 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.786e-05/1.036, allocations: 7.906 kB / 0.7252 GB, free: 5.359 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001214/1.036, allocations: 52.92 kB / 0.7252 GB, free: 5.305 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/1.036, allocations: 0 / 0.7252 GB, free: 5.305 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/1.036, allocations: 0 / 0.7252 GB, free: 5.305 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/1.036, allocations: 0 / 0.7252 GB, free: 5.305 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001281/1.036, allocations: 138.4 kB / 0.7254 GB, free: 5.133 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/1.036, allocations: 0 / 0.7254 GB, free: 5.133 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.893e-05/1.036, allocations: 16.03 kB / 0.7254 GB, free: 5.117 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.527e-06/1.036, allocations: 7.891 kB / 0.7254 GB, free: 5.109 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.493e-06/1.036, allocations: 0 / 0.7254 GB, free: 5.109 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/1.036, allocations: 0 / 0.7254 GB, free: 5.109 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/1.036, allocations: 3.984 kB / 0.7254 GB, free: 5.105 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001141/1.036, allocations: 131.6 kB / 0.7255 GB, free: 4.961 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002661/1.037, allocations: 0.5116 MB / 0.726 GB, free: 4.43 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.811e-05/1.037, allocations: 85.02 kB / 0.7261 GB, free: 4.328 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.321e-05/1.037, allocations: 0 / 0.7261 GB, free: 4.328 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.969e-05/1.037, allocations: 11.98 kB / 0.7261 GB, free: 4.316 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.622e-05/1.037, allocations: 4.031 kB / 0.7261 GB, free: 4.312 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-06/1.037, allocations: 0 / 0.7261 GB, free: 4.312 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.029e-05/1.037, allocations: 83.28 kB / 0.7262 GB, free: 4.23 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0008371/1.038, allocations: 43.92 kB / 0.7262 GB, free: 4.188 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.0004016/1.038, allocations: 167.1 kB / 0.7264 GB, free: 4.016 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 7.736e-05/1.038, allocations: 8 kB / 0.7264 GB, free: 4.008 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/1.038, allocations: 3.938 kB / 0.7264 GB, free: 4.004 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.219e-05/1.038, allocations: 8 kB / 0.7264 GB, free: 3.996 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001772/1.038, allocations: 7.906 kB / 0.7264 GB, free: 3.988 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002328/1.039, allocations: 59.98 kB / 0.7265 GB, free: 3.906 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004108/1.039, allocations: 0.6919 MB / 0.7272 GB, free: 3.188 MB / 490.7 MB Notification: Performance of SimCode: time 3e-07/1.039, allocations: 3.938 kB / 0.7272 GB, free: 3.184 MB / 490.7 MB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselY0.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselY0.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselY0.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselY0.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_BesselY0_fmu --startTime=0.1 --stopTime=30 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_BesselY0.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselY0.pipe 2>&1)