Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice.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.Examples.Splice,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_Splice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.Splice,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_Splice",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.001706/0.001706, allocations: 183.1 kB / 7.801 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5642/0.5642, 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.415/1.415, allocations: 221.4 MB / 342.7 MB, free: 5.227 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.0009994/0.0009996, allocations: 104.8 kB / 415.5 MB, free: 9.863 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1852/0.1862, allocations: 78.44 MB / 494 MB, free: 11.47 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4296/0.6159, allocations: 72.31 MB / 0.553 GB, free: 44.77 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1348/0.7507, allocations: 101.9 MB / 0.6525 GB, free: 6.715 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002002/0.751, allocations: 71.95 kB / 0.6526 GB, free: 6.645 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.007555/0.7586, allocations: 2.251 MB / 0.6548 GB, free: 4.363 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.7586, allocations: 15.92 kB / 0.6548 GB, free: 4.348 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.364e-05/0.7586, allocations: 11.91 kB / 0.6548 GB, free: 4.336 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001236/0.7588, allocations: 164.7 kB / 0.655 GB, free: 4.137 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.7588, allocations: 4 kB / 0.655 GB, free: 4.133 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.174e-06/0.7588, allocations: 0 / 0.655 GB, free: 4.133 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.244e-05/0.7589, allocations: 19.91 kB / 0.655 GB, free: 4.113 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.379e-05/0.759, allocations: 45.62 kB / 0.655 GB, free: 4.062 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.31e-06/0.759, allocations: 0 / 0.655 GB, free: 4.062 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.422e-06/0.759, allocations: 0 / 0.655 GB, free: 4.062 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.557e-06/0.759, allocations: 0 / 0.655 GB, free: 4.062 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002982/0.7593, allocations: 257.4 kB / 0.6553 GB, free: 3.773 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.618e-05/0.7594, allocations: 26.56 kB / 0.6553 GB, free: 3.738 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.146e-05/0.7594, allocations: 8.922 kB / 0.6553 GB, free: 3.727 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000487/0.7599, allocations: 0.5583 MB / 0.6558 GB, free: 3.039 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.407e-05/0.7599, allocations: 38.56 kB / 0.6559 GB, free: 2.992 MB / 474.7 MB Notification: Performance of pre-optimization done (n=2): time 1.412e-06/0.7599, allocations: 0 / 0.6559 GB, free: 2.992 MB / 474.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001888/0.7601, allocations: 49.59 kB / 0.6559 GB, free: 2.938 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.904e-05/0.7602, allocations: 51.41 kB / 0.656 GB, free: 2.875 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.215e-05/0.7602, allocations: 101 kB / 0.6561 GB, free: 2.77 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 5.381e-05/0.7603, allocations: 26.27 kB / 0.6561 GB, free: 2.738 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.739e-05/0.7604, allocations: 87.98 kB / 0.6562 GB, free: 2.648 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.453e-05/0.7604, allocations: 11.94 kB / 0.6562 GB, free: 2.637 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.866e-06/0.7604, allocations: 0 / 0.6562 GB, free: 2.637 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001136/0.7605, allocations: 318.8 kB / 0.6565 GB, free: 2.316 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.744e-05/0.7605, allocations: 4 kB / 0.6565 GB, free: 2.312 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.323e-05/0.7606, allocations: 4.75 kB / 0.6565 GB, free: 2.309 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.903e-05/0.7606, allocations: 4 kB / 0.6565 GB, free: 2.305 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.7606, allocations: 4 kB / 0.6565 GB, free: 2.301 MB / 474.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001081/0.7607, allocations: 49.62 kB / 0.6566 GB, free: 2.246 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.7608, allocations: 4.094 kB / 0.6566 GB, free: 2.242 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.7608, allocations: 7.906 kB / 0.6566 GB, free: 2.234 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.508e-06/0.7608, allocations: 0 / 0.6566 GB, free: 2.234 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.712e-05/0.7609, allocations: 4 kB / 0.6566 GB, free: 2.23 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.7609, allocations: 5.594 kB / 0.6566 GB, free: 2.227 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.975e-05/0.7609, allocations: 3.984 kB / 0.6566 GB, free: 2.223 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.198e-05/0.761, allocations: 6.266 kB / 0.6566 GB, free: 2.219 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 (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 5.505e-05/0.761, allocations: 104.9 kB / 0.6567 GB, free: 2.109 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.817e-05/0.761, allocations: 7.906 kB / 0.6567 GB, free: 2.102 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001377/0.7612, allocations: 57.25 kB / 0.6568 GB, free: 2.035 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.7612, allocations: 0 / 0.6568 GB, free: 2.035 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.7612, allocations: 4 kB / 0.6568 GB, free: 2.031 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.904e-06/0.7612, allocations: 0 / 0.6568 GB, free: 2.031 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001446/0.7614, allocations: 142.1 kB / 0.6569 GB, free: 1.855 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.7614, allocations: 4 kB / 0.6569 GB, free: 1.852 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.316e-05/0.7614, allocations: 11.98 kB / 0.6569 GB, free: 1.84 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.531e-06/0.7615, allocations: 4.031 kB / 0.6569 GB, free: 1.836 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.5e-06/0.7615, allocations: 0 / 0.6569 GB, free: 1.836 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.7615, allocations: 0 / 0.6569 GB, free: 1.836 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.7615, allocations: 0 / 0.6569 GB, free: 1.836 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001415/0.7616, allocations: 147.5 kB / 0.6571 GB, free: 1.676 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000241/0.7619, allocations: 0.516 MB / 0.6576 GB, free: 1.141 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.097e-05/0.7619, allocations: 81.11 kB / 0.6576 GB, free: 1.043 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.167e-05/0.7619, allocations: 0 / 0.6576 GB, free: 1.043 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.011e-05/0.762, allocations: 0 / 0.6576 GB, free: 1.043 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.298e-05/0.7621, allocations: 11.89 kB / 0.6576 GB, free: 1.031 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.488e-06/0.7621, allocations: 0 / 0.6576 GB, free: 1.031 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.828e-05/0.7621, allocations: 86.38 kB / 0.6577 GB, free: 0.9492 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0008003/0.7629, allocations: 15.94 kB / 0.6577 GB, free: 0.9336 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 (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.0001648/0.7631, allocations: 115.3 kB / 0.6579 GB, free: 0.8125 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 7.939e-05/0.7632, allocations: 12 kB / 0.6579 GB, free: 0.8008 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.7632, allocations: 0 / 0.6579 GB, free: 0.8008 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 2.446e-05/0.7632, allocations: 7.938 kB / 0.6579 GB, free: 0.793 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001516/0.7634, allocations: 4 kB / 0.6579 GB, free: 0.7891 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00027/0.7637, allocations: 69.64 kB / 0.6579 GB, free: 0.6992 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003553/0.764, allocations: 0.7037 MB / 0.6586 GB, free: 15.97 MB / 490.7 MB Notification: Performance of SimCode: time 5.11e-07/0.764, allocations: 0 / 0.6586 GB, free: 15.97 MB / 490.7 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_Splice_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_Splice.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice.pipe 2>&1)