Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselY1.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.BesselY1,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_BesselY1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselY1,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_BesselY1",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.7584/0.7584, allocations: 127.4 MB / 134.6 MB, free: 4.109 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.001194/0.001194, allocations: 185.3 kB / 164.4 MB, free: 6.883 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.606/1.606, allocations: 205.1 MB / 399.1 MB, free: 6.082 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.0009655/0.0009654, allocations: 102.2 kB / 476.3 MB, free: 8.824 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3038/0.3048, allocations: 82.9 MB / 0.5461 GB, free: 42.64 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1598/0.4646, allocations: 76.75 MB / 0.621 GB, free: 13.82 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4628/0.9275, allocations: 101.6 MB / 0.7203 GB, free: 10.75 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002894/0.9279, allocations: 71.95 kB / 0.7204 GB, free: 10.68 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.007374/0.9353, allocations: 2.284 MB / 0.7226 GB, free: 8.363 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/0.9353, allocations: 8 kB / 0.7226 GB, free: 8.355 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.347e-05/0.9354, allocations: 0 / 0.7226 GB, free: 8.355 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001211/0.9355, allocations: 163 kB / 0.7227 GB, free: 8.156 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.778e-05/0.9355, allocations: 0 / 0.7227 GB, free: 8.156 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.26e-05/0.9356, allocations: 10.69 kB / 0.7228 GB, free: 8.148 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.744e-05/0.9356, allocations: 0 / 0.7228 GB, free: 8.148 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.515e-05/0.9357, allocations: 28.27 kB / 0.7228 GB, free: 8.117 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.9357, allocations: 3.906 kB / 0.7228 GB, free: 8.113 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.9357, allocations: 0 / 0.7228 GB, free: 8.113 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.9358, allocations: 8 kB / 0.7228 GB, free: 8.105 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001628/0.9359, allocations: 130.2 kB / 0.7229 GB, free: 7.941 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.873e-05/0.936, allocations: 14.58 kB / 0.7229 GB, free: 7.918 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.812e-05/0.936, allocations: 4.859 kB / 0.7229 GB, free: 7.91 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007341/0.9367, allocations: 453.6 kB / 0.7234 GB, free: 7.375 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.447e-05/0.9368, allocations: 34.5 kB / 0.7234 GB, free: 7.332 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 1.263e-06/0.9368, allocations: 0 / 0.7234 GB, free: 7.332 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001662/0.937, allocations: 37.69 kB / 0.7234 GB, free: 7.289 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.925e-05/0.937, allocations: 55.44 kB / 0.7235 GB, free: 7.223 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.425e-05/0.937, allocations: 85 kB / 0.7236 GB, free: 7.133 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.333e-05/0.9371, allocations: 25.7 kB / 0.7236 GB, free: 7.102 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.768e-05/0.9371, allocations: 80.14 kB / 0.7237 GB, free: 7.02 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.307e-05/0.9371, allocations: 7.906 kB / 0.7237 GB, free: 7.012 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.087e-06/0.9372, allocations: 0 / 0.7237 GB, free: 7.012 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.9373, allocations: 314.8 kB / 0.724 GB, free: 6.695 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.514e-06/0.9373, allocations: 0 / 0.724 GB, free: 6.695 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.869e-06/0.9373, allocations: 4 kB / 0.724 GB, free: 6.691 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.1e-05/0.9373, allocations: 4 kB / 0.724 GB, free: 6.688 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.9373, allocations: 0 / 0.724 GB, free: 6.688 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.544e-05/0.9374, allocations: 33.64 kB / 0.724 GB, free: 6.648 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.9374, allocations: 7.984 kB / 0.724 GB, free: 6.641 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.9375, allocations: 0 / 0.724 GB, free: 6.641 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.9375, allocations: 3.906 kB / 0.724 GB, free: 6.637 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.523e-05/0.9375, allocations: 4 kB / 0.724 GB, free: 6.633 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.349e-06/0.9375, allocations: 0 / 0.724 GB, free: 6.633 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.128e-05/0.9375, allocations: 4.094 kB / 0.724 GB, free: 6.629 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.172e-06/0.9376, allocations: 0 / 0.724 GB, free: 6.629 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 0.0001018/0.9377, allocations: 108.9 kB / 0.7241 GB, free: 6.516 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.316e-06/0.9377, allocations: 4 kB / 0.7241 GB, free: 6.512 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001049/0.9378, allocations: 40.67 kB / 0.7242 GB, free: 6.469 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.9378, allocations: 3.906 kB / 0.7242 GB, free: 6.465 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.9378, allocations: 0 / 0.7242 GB, free: 6.465 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.9378, allocations: 0 / 0.7242 GB, free: 6.465 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.487e-05/0.9379, allocations: 122.2 kB / 0.7243 GB, free: 6.309 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.9379, allocations: 7.969 kB / 0.7243 GB, free: 6.301 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.212e-05/0.938, allocations: 7.938 kB / 0.7243 GB, free: 6.293 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.938, allocations: 0.875 kB / 0.7243 GB, free: 6.293 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.182e-06/0.938, allocations: 0 / 0.7243 GB, free: 6.293 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.938, allocations: 0 / 0.7243 GB, free: 6.293 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.938, allocations: 0 / 0.7243 GB, free: 6.293 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.32e-05/0.9381, allocations: 61.03 kB / 0.7244 GB, free: 6.215 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000218/0.9383, allocations: 441.6 kB / 0.7248 GB, free: 5.762 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.193e-05/0.9384, allocations: 81.02 kB / 0.7249 GB, free: 5.664 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.31e-05/0.9384, allocations: 7.938 kB / 0.7249 GB, free: 5.656 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.153e-06/0.9384, allocations: 0 / 0.7249 GB, free: 5.656 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.712e-05/0.9384, allocations: 4 kB / 0.7249 GB, free: 5.652 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.628e-06/0.9384, allocations: 3.984 kB / 0.7249 GB, free: 5.648 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.685e-05/0.9385, allocations: 75.31 kB / 0.725 GB, free: 5.574 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0008503/0.9393, allocations: 51.92 kB / 0.725 GB, free: 5.523 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.0004591/0.9398, allocations: 163.1 kB / 0.7252 GB, free: 5.355 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 6.335e-05/0.9399, allocations: 4 kB / 0.7252 GB, free: 5.352 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.9399, allocations: 0 / 0.7252 GB, free: 5.352 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 9.728e-06/0.9399, allocations: 8 kB / 0.7252 GB, free: 5.344 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.917e-05/0.94, allocations: 3.906 kB / 0.7252 GB, free: 5.34 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002311/0.9402, allocations: 44.02 kB / 0.7252 GB, free: 5.273 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003565/0.9406, allocations: 0.6802 MB / 0.7259 GB, free: 4.566 MB / 490.7 MB Notification: Performance of SimCode: time 2.71e-07/0.9406, allocations: 4 kB / 0.7259 GB, free: 4.562 MB / 490.7 MB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselY1.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselY1.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselY1.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselY1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_BesselY1_fmu --startTime=0.1 --stopTime=30 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_BesselY1.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselY1.pipe 2>&1)