Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Splice.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.Splice,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Splice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.Splice,fileNamePrefix="BuildSysPro_BuildSysPro_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/BuildSysPro 3.5.0/package.mo): time 0.7235/0.7235, allocations: 127.4 MB / 134.6 MB, free: 4.074 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.001101/0.001101, allocations: 197.2 kB / 164.4 MB, free: 6.891 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.383/1.383, allocations: 205.1 MB / 399.1 MB, free: 6.098 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.0009436/0.0009437, allocations: 93.19 kB / 476.3 MB, free: 8.848 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3041/0.3051, allocations: 82.88 MB / 0.5461 GB, free: 42.68 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1786/0.4837, allocations: 76.75 MB / 0.621 GB, free: 13.85 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5318/1.016, allocations: 103.2 MB / 0.7218 GB, free: 9.18 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003044/1.016, allocations: 77.31 kB / 0.7218 GB, free: 9.105 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.006171/1.022, allocations: 1.864 MB / 0.7236 GB, free: 7.199 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.653e-05/1.022, allocations: 8 kB / 0.7237 GB, free: 7.191 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.85e-05/1.022, allocations: 7.906 kB / 0.7237 GB, free: 7.184 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001603/1.022, allocations: 174.9 kB / 0.7238 GB, free: 6.973 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/1.022, allocations: 3.938 kB / 0.7238 GB, free: 6.969 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.303e-05/1.022, allocations: 4 kB / 0.7238 GB, free: 6.965 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.352e-05/1.023, allocations: 12 kB / 0.7238 GB, free: 6.953 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001065/1.023, allocations: 45.62 kB / 0.7239 GB, free: 6.902 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/1.023, allocations: 0 / 0.7239 GB, free: 6.902 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/1.023, allocations: 3.984 kB / 0.7239 GB, free: 6.898 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.138e-06/1.023, allocations: 9.688 kB / 0.7239 GB, free: 6.891 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004223/1.023, allocations: 257.3 kB / 0.7241 GB, free: 6.602 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.377e-05/1.023, allocations: 26.52 kB / 0.7242 GB, free: 6.566 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.125e-05/1.023, allocations: 12.91 kB / 0.7242 GB, free: 6.551 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007249/1.024, allocations: 0.5583 MB / 0.7247 GB, free: 5.863 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.396e-05/1.024, allocations: 34.56 kB / 0.7248 GB, free: 5.82 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/1.024, allocations: 0 / 0.7248 GB, free: 5.82 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.000315/1.024, allocations: 41.7 kB / 0.7248 GB, free: 5.773 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.713e-05/1.024, allocations: 51.41 kB / 0.7249 GB, free: 5.711 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/1.025, allocations: 101 kB / 0.7249 GB, free: 5.605 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.68e-05/1.025, allocations: 33.53 kB / 0.725 GB, free: 5.57 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.63e-05/1.025, allocations: 91.98 kB / 0.7251 GB, free: 5.477 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.438e-05/1.025, allocations: 7.891 kB / 0.7251 GB, free: 5.469 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.178e-06/1.025, allocations: 0 / 0.7251 GB, free: 5.469 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001887/1.025, allocations: 317.4 kB / 0.7254 GB, free: 5.152 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.198e-05/1.025, allocations: 4 kB / 0.7254 GB, free: 5.148 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.807e-05/1.025, allocations: 11.94 kB / 0.7254 GB, free: 5.137 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.482e-05/1.025, allocations: 4 kB / 0.7254 GB, free: 5.133 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/1.025, allocations: 4.062 kB / 0.7254 GB, free: 5.129 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001201/1.025, allocations: 49.59 kB / 0.7254 GB, free: 5.074 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/1.025, allocations: 4 kB / 0.7255 GB, free: 5.07 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/1.025, allocations: 0 / 0.7255 GB, free: 5.07 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/1.025, allocations: 0 / 0.7255 GB, free: 5.07 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001058/1.025, allocations: 11.98 kB / 0.7255 GB, free: 5.059 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/1.025, allocations: 0 / 0.7255 GB, free: 5.059 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.952e-05/1.025, allocations: 4 kB / 0.7255 GB, free: 5.055 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/1.025, allocations: 4.031 kB / 0.7255 GB, free: 5.051 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.0001237/1.026, allocations: 104.9 kB / 0.7256 GB, free: 4.941 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.603e-05/1.026, allocations: 0 / 0.7256 GB, free: 4.941 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001976/1.026, allocations: 61.25 kB / 0.7256 GB, free: 4.879 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.9e-06/1.026, allocations: 3.984 kB / 0.7256 GB, free: 4.875 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.667e-06/1.026, allocations: 0 / 0.7256 GB, free: 4.875 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.156e-05/1.026, allocations: 4.781 kB / 0.7256 GB, free: 4.871 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002049/1.026, allocations: 138.2 kB / 0.7258 GB, free: 4.699 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/1.026, allocations: 4.031 kB / 0.7258 GB, free: 4.695 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.28e-05/1.026, allocations: 7.984 kB / 0.7258 GB, free: 4.688 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/1.026, allocations: 3.938 kB / 0.7258 GB, free: 4.684 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.898e-06/1.026, allocations: 0 / 0.7258 GB, free: 4.684 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.613e-06/1.026, allocations: 5.062 kB / 0.7258 GB, free: 4.68 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/1.026, allocations: 0 / 0.7258 GB, free: 4.68 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002055/1.026, allocations: 143.5 kB / 0.7259 GB, free: 4.523 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004303/1.027, allocations: 0.5155 MB / 0.7264 GB, free: 3.988 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.226e-05/1.027, allocations: 85.02 kB / 0.7265 GB, free: 3.887 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.11e-05/1.027, allocations: 0 / 0.7265 GB, free: 3.887 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.418e-05/1.027, allocations: 7.984 kB / 0.7265 GB, free: 3.879 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.095e-05/1.027, allocations: 0.6562 kB / 0.7265 GB, free: 3.879 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-06/1.027, allocations: 8.031 kB / 0.7265 GB, free: 3.871 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.666e-05/1.027, allocations: 87.28 kB / 0.7266 GB, free: 3.785 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0008564/1.028, allocations: 15.94 kB / 0.7266 GB, free: 3.77 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.0003062/1.028, allocations: 107.2 kB / 0.7267 GB, free: 3.652 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001197/1.029, allocations: 12 kB / 0.7267 GB, free: 3.641 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/1.029, allocations: 2.078 kB / 0.7267 GB, free: 3.641 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.763e-05/1.029, allocations: 7.938 kB / 0.7267 GB, free: 3.633 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000182/1.029, allocations: 8.031 kB / 0.7268 GB, free: 3.625 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003731/1.029, allocations: 67.78 kB / 0.7268 GB, free: 3.535 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004884/1.03, allocations: 0.6997 MB / 0.7275 GB, free: 2.809 MB / 490.7 MB Notification: Performance of SimCode: time 2.61e-07/1.03, allocations: 0 / 0.7275 GB, free: 2.809 MB / 490.7 MB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Splice.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Splice.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Splice.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Splice_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Splice.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Splice.pipe 2>&1)