Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.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.Examples.BesselY1,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_BesselY1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.BesselY1,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_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.7293/0.7293, allocations: 127.4 MB / 134.6 MB, free: 4.066 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.001076/0.001076, allocations: 185.2 kB / 164.4 MB, free: 6.871 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.754/1.754, allocations: 205.1 MB / 399.1 MB, free: 6.141 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.001107/0.001107, allocations: 98.78 kB / 476.3 MB, free: 8.891 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.321/0.3222, allocations: 82.87 MB / 0.5461 GB, free: 42.66 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1848/0.5071, allocations: 76.76 MB / 0.621 GB, free: 13.83 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.507/1.014, allocations: 102.3 MB / 0.721 GB, free: 9.934 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002865/1.014, allocations: 76.97 kB / 0.721 GB, free: 9.859 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.008551/1.023, allocations: 2.609 MB / 0.7236 GB, free: 7.219 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.887e-05/1.023, allocations: 8 kB / 0.7236 GB, free: 7.211 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.556e-05/1.023, allocations: 0 / 0.7236 GB, free: 7.211 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001974/1.023, allocations: 174.9 kB / 0.7237 GB, free: 7 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.753e-05/1.023, allocations: 0 / 0.7237 GB, free: 7 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.415e-05/1.023, allocations: 0 / 0.7237 GB, free: 7 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.303e-05/1.024, allocations: 8 kB / 0.7238 GB, free: 6.992 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.811e-05/1.024, allocations: 37.7 kB / 0.7238 GB, free: 6.949 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/1.024, allocations: 0 / 0.7238 GB, free: 6.949 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.487e-05/1.024, allocations: 3.984 kB / 0.7238 GB, free: 6.945 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/1.024, allocations: 0 / 0.7238 GB, free: 6.945 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005443/1.024, allocations: 250.2 kB / 0.724 GB, free: 6.664 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.15e-05/1.024, allocations: 26.58 kB / 0.7241 GB, free: 6.629 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.898e-05/1.024, allocations: 12.91 kB / 0.7241 GB, free: 6.613 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000784/1.025, allocations: 453.5 kB / 0.7245 GB, free: 6.078 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.038e-05/1.025, allocations: 34.55 kB / 0.7245 GB, free: 6.035 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/1.025, allocations: 0 / 0.7245 GB, free: 6.035 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002961/1.026, allocations: 45.61 kB / 0.7246 GB, free: 5.984 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.567e-05/1.026, allocations: 55.44 kB / 0.7246 GB, free: 5.918 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001081/1.026, allocations: 89 kB / 0.7247 GB, free: 5.824 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.009e-05/1.026, allocations: 29.64 kB / 0.7247 GB, free: 5.789 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.873e-05/1.026, allocations: 84.14 kB / 0.7248 GB, free: 5.703 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.466e-05/1.026, allocations: 7.891 kB / 0.7248 GB, free: 5.695 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.737e-06/1.026, allocations: 3.938 kB / 0.7248 GB, free: 5.691 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001955/1.026, allocations: 314.8 kB / 0.7251 GB, free: 5.375 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.698e-05/1.026, allocations: 4 kB / 0.7251 GB, free: 5.371 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.817e-05/1.026, allocations: 8 kB / 0.7252 GB, free: 5.363 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.999e-05/1.026, allocations: 4 kB / 0.7252 GB, free: 5.359 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/1.026, allocations: 0 / 0.7252 GB, free: 5.359 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.211e-05/1.026, allocations: 41.69 kB / 0.7252 GB, free: 5.312 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/1.026, allocations: 7.906 kB / 0.7252 GB, free: 5.305 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.819e-06/1.026, allocations: 4.75 kB / 0.7252 GB, free: 5.301 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/1.026, allocations: 0 / 0.7252 GB, free: 5.301 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001332/1.026, allocations: 12.09 kB / 0.7252 GB, free: 5.289 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.468e-05/1.027, allocations: 7.172 kB / 0.7252 GB, free: 5.285 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.335e-05/1.027, allocations: 11.98 kB / 0.7252 GB, free: 5.273 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.793e-06/1.027, allocations: 0 / 0.7252 GB, free: 5.273 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 0.0001213/1.027, allocations: 101 kB / 0.7253 GB, free: 5.168 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.249e-05/1.027, allocations: 15.84 kB / 0.7253 GB, free: 5.152 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001576/1.027, allocations: 52.94 kB / 0.7254 GB, free: 5.098 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/1.027, allocations: 0 / 0.7254 GB, free: 5.098 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/1.027, allocations: 0 / 0.7254 GB, free: 5.098 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/1.027, allocations: 0 / 0.7254 GB, free: 5.098 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002367/1.027, allocations: 134.2 kB / 0.7255 GB, free: 4.93 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/1.027, allocations: 0 / 0.7255 GB, free: 4.93 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.047e-05/1.027, allocations: 8 kB / 0.7255 GB, free: 4.922 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.255e-06/1.027, allocations: 11.89 kB / 0.7255 GB, free: 4.91 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/1.027, allocations: 8.031 kB / 0.7256 GB, free: 4.902 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/1.027, allocations: 0 / 0.7256 GB, free: 4.902 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/1.027, allocations: 0 / 0.7256 GB, free: 4.902 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000169/1.028, allocations: 131.5 kB / 0.7257 GB, free: 4.758 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003654/1.028, allocations: 0.5116 MB / 0.7262 GB, free: 4.227 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.793e-05/1.028, allocations: 85.02 kB / 0.7263 GB, free: 4.125 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.709e-05/1.028, allocations: 0 / 0.7263 GB, free: 4.125 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.111e-05/1.028, allocations: 7.984 kB / 0.7263 GB, free: 4.117 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.556e-05/1.028, allocations: 4 kB / 0.7263 GB, free: 4.113 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.307e-06/1.028, allocations: 0 / 0.7263 GB, free: 4.113 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.433e-05/1.028, allocations: 83.27 kB / 0.7264 GB, free: 4.031 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0009251/1.029, allocations: 51.81 kB / 0.7264 GB, free: 3.98 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.0004828/1.03, allocations: 175.5 kB / 0.7266 GB, free: 3.801 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 9.248e-05/1.03, allocations: 15.94 kB / 0.7266 GB, free: 3.785 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/1.03, allocations: 0 / 0.7266 GB, free: 3.785 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.249e-05/1.03, allocations: 8 kB / 0.7266 GB, free: 3.777 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000208/1.03, allocations: 3.906 kB / 0.7266 GB, free: 3.773 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002638/1.03, allocations: 55.92 kB / 0.7266 GB, free: 3.695 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003793/1.031, allocations: 0.6919 MB / 0.7273 GB, free: 2.977 MB / 490.7 MB Notification: Performance of SimCode: time 2.31e-07/1.031, allocations: 128 / 0.7273 GB, free: 2.977 MB / 490.7 MB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselY1.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselY1.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselY1.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselY1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_BesselY1_fmu --startTime=0.1 --stopTime=30 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_BesselY1.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselY1.pipe 2>&1)