Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselY1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.BesselY1,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_BesselY1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.BesselY1,fileNamePrefix="IBPSA_latest_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/Complex 4.0.0+maint.om/package.mo): time 0.001502/0.001502, allocations: 187.4 kB / 7.806 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4789/0.4789, allocations: 90.85 MB / 99.07 MB, free: 14.95 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.449/1.449, allocations: 221.4 MB / 342.8 MB, free: 5.113 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001/0.001, allocations: 86.14 kB / 415.5 MB, free: 6.383 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1853/0.1864, allocations: 78.46 MB / 494 MB, free: 7.93 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4086/0.595, allocations: 72.3 MB / 0.553 GB, free: 73.42 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.119/0.714, allocations: 100.5 MB / 0.6512 GB, free: 9.48 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001962/0.7142, allocations: 75.95 kB / 0.6512 GB, free: 9.406 MB / 474.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.00695/0.7212, allocations: 2.198 MB / 0.6534 GB, free: 7.195 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/0.7213, allocations: 12.62 kB / 0.6534 GB, free: 7.184 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.59e-05/0.7213, allocations: 3.906 kB / 0.6534 GB, free: 7.18 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.633e-05/0.7214, allocations: 160.2 kB / 0.6535 GB, free: 6.984 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.7214, allocations: 0 / 0.6535 GB, free: 6.984 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.127e-06/0.7214, allocations: 3.984 kB / 0.6536 GB, free: 6.98 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.053e-05/0.7215, allocations: 2.312 kB / 0.6536 GB, free: 6.98 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.774e-05/0.7215, allocations: 29.7 kB / 0.6536 GB, free: 6.945 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.7216, allocations: 1.125 kB / 0.6536 GB, free: 6.945 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.7216, allocations: 0 / 0.6536 GB, free: 6.945 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.7216, allocations: 0 / 0.6536 GB, free: 6.945 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001282/0.7217, allocations: 127.1 kB / 0.6537 GB, free: 6.785 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.683e-05/0.7218, allocations: 24.36 kB / 0.6537 GB, free: 6.754 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.843e-05/0.7218, allocations: 8.859 kB / 0.6537 GB, free: 6.742 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007071/0.7225, allocations: 455.7 kB / 0.6542 GB, free: 6.211 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.655e-05/0.7225, allocations: 35.66 kB / 0.6542 GB, free: 6.168 MB / 474.7 MB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.7225, allocations: 0 / 0.6542 GB, free: 6.168 MB / 474.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001796/0.7227, allocations: 30.55 kB / 0.6542 GB, free: 6.133 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.059e-05/0.7228, allocations: 51.41 kB / 0.6543 GB, free: 6.07 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.899e-05/0.7228, allocations: 85.97 kB / 0.6544 GB, free: 5.98 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.726e-05/0.7228, allocations: 25.7 kB / 0.6544 GB, free: 5.949 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.838e-05/0.7229, allocations: 80.92 kB / 0.6545 GB, free: 5.867 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.833e-05/0.723, allocations: 7.906 kB / 0.6545 GB, free: 5.859 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.554e-06/0.723, allocations: 0.9375 kB / 0.6545 GB, free: 5.859 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001151/0.7231, allocations: 310.8 kB / 0.6548 GB, free: 5.543 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.678e-06/0.7231, allocations: 5.219 kB / 0.6548 GB, free: 5.539 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.743e-06/0.7231, allocations: 3.938 kB / 0.6548 GB, free: 5.535 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.844e-05/0.7232, allocations: 0.625 kB / 0.6548 GB, free: 5.535 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.7232, allocations: 4.891 kB / 0.6548 GB, free: 5.531 MB / 474.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.854e-05/0.7232, allocations: 29.7 kB / 0.6548 GB, free: 5.496 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.7232, allocations: 8.531 kB / 0.6548 GB, free: 5.488 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.7233, allocations: 0 / 0.6548 GB, free: 5.488 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/0.7233, allocations: 0.5 kB / 0.6548 GB, free: 5.488 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.327e-05/0.7233, allocations: 0.5938 kB / 0.6548 GB, free: 5.488 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.126e-05/0.7233, allocations: 1.641 kB / 0.6548 GB, free: 5.488 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.123e-05/0.7234, allocations: 6.5 kB / 0.6548 GB, free: 5.484 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.054e-06/0.7234, allocations: 7.906 kB / 0.6548 GB, free: 5.477 MB / 474.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 6.431e-05/0.7234, allocations: 104.1 kB / 0.6549 GB, free: 5.371 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.272e-06/0.7234, allocations: 0 / 0.6549 GB, free: 5.371 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.627e-05/0.7236, allocations: 47.91 kB / 0.655 GB, free: 5.32 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.7236, allocations: 0 / 0.655 GB, free: 5.32 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.7236, allocations: 0 / 0.655 GB, free: 5.32 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.7236, allocations: 0 / 0.655 GB, free: 5.32 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.179e-05/0.7237, allocations: 131.8 kB / 0.6551 GB, free: 5.156 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.7237, allocations: 5.609 kB / 0.6551 GB, free: 5.152 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.15e-05/0.7237, allocations: 0 / 0.6551 GB, free: 5.152 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.7237, allocations: 0 / 0.6551 GB, free: 5.152 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.621e-06/0.7237, allocations: 0 / 0.6551 GB, free: 5.152 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.7237, allocations: 0.5312 kB / 0.6551 GB, free: 5.152 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.7237, allocations: 4.562 kB / 0.6551 GB, free: 5.148 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.269e-05/0.7238, allocations: 54.3 kB / 0.6552 GB, free: 5.078 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000174/0.724, allocations: 448 kB / 0.6556 GB, free: 4.621 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.662e-05/0.724, allocations: 77.11 kB / 0.6557 GB, free: 4.527 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.128e-05/0.724, allocations: 0 / 0.6557 GB, free: 4.527 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.297e-05/0.7241, allocations: 5.312 kB / 0.6557 GB, free: 4.523 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.572e-05/0.7241, allocations: 3.984 kB / 0.6557 GB, free: 4.52 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.939e-06/0.7241, allocations: 5.547 kB / 0.6557 GB, free: 4.516 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.298e-05/0.7241, allocations: 75.84 kB / 0.6558 GB, free: 4.441 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0008856/0.725, allocations: 41.28 kB / 0.6558 GB, free: 4.402 MB / 474.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.0004095/0.7254, allocations: 175.8 kB / 0.656 GB, free: 4.219 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 7.219e-05/0.7255, allocations: 0 / 0.656 GB, free: 4.219 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.7255, allocations: 0 / 0.656 GB, free: 4.219 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 8.546e-06/0.7255, allocations: 7.938 kB / 0.656 GB, free: 4.211 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.777e-05/0.7256, allocations: 4.125 kB / 0.656 GB, free: 4.207 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001737/0.7258, allocations: 51.92 kB / 0.656 GB, free: 4.133 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00025/0.7261, allocations: 0.6802 MB / 0.6567 GB, free: 3.426 MB / 474.7 MB Notification: Performance of SimCode: time 2.6e-07/0.7261, allocations: 3.938 kB / 0.6567 GB, free: 3.422 MB / 474.7 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselY1.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselY1.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselY1.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselY1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_BesselY1_fmu --startTime=0.1 --stopTime=30 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_BesselY1.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselY1.pipe 2>&1)