Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.Splice,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_Splice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.Splice,fileNamePrefix="BuildingSystems_BuildingSystems_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/BuildingSystems 2.0.0-master/package.mo): time 0.7307/0.7307, allocations: 141.8 MB / 149.1 MB, free: 12.96 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 181.3 kB / 181.9 MB, free: 9.645 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.273/1.273, allocations: 221.3 MB / 436 MB, free: 2.152 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009637/0.0009637, allocations: 90.86 kB / 0.507 GB, free: 10.85 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001853/0.001853, allocations: 275.6 kB / 0.5884 GB, free: 7.695 MB / 474.9 MB Notification: Performance of FrontEnd - loaded program: time 0.1655/0.1674, allocations: 89.64 MB / 0.676 GB, free: 13.96 MB / 0.5575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3293/0.4967, allocations: 82.77 MB / 0.7568 GB, free: 138.8 MB / 0.5575 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1075/0.6042, allocations: 109 MB / 0.8633 GB, free: 29.67 MB / 0.5575 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000199/0.6044, allocations: 79.92 kB / 0.8634 GB, free: 29.6 MB / 0.5575 GB 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.005935/0.6104, allocations: 2.225 MB / 0.8655 GB, free: 27.34 MB / 0.5575 GB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.6104, allocations: 12.59 kB / 0.8655 GB, free: 27.33 MB / 0.5575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.867e-05/0.6104, allocations: 3.906 kB / 0.8655 GB, free: 27.33 MB / 0.5575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.229e-05/0.6105, allocations: 175.4 kB / 0.8657 GB, free: 27.12 MB / 0.5575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.227e-06/0.6106, allocations: 0.75 kB / 0.8657 GB, free: 27.12 MB / 0.5575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.185e-05/0.6106, allocations: 4 kB / 0.8657 GB, free: 27.11 MB / 0.5575 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.599e-05/0.6107, allocations: 17.72 kB / 0.8657 GB, free: 27.1 MB / 0.5575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.861e-05/0.6107, allocations: 45.69 kB / 0.8658 GB, free: 27.05 MB / 0.5575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.6107, allocations: 0 / 0.8658 GB, free: 27.05 MB / 0.5575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.889e-06/0.6108, allocations: 0 / 0.8658 GB, free: 27.05 MB / 0.5575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.678e-06/0.6108, allocations: 0 / 0.8658 GB, free: 27.05 MB / 0.5575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002634/0.611, allocations: 255 kB / 0.866 GB, free: 26.76 MB / 0.5575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.03e-05/0.6111, allocations: 27.95 kB / 0.866 GB, free: 26.73 MB / 0.5575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.372e-05/0.6111, allocations: 12.92 kB / 0.8661 GB, free: 26.71 MB / 0.5575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003042/0.6114, allocations: 0.5522 MB / 0.8666 GB, free: 26.03 MB / 0.5575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.547e-05/0.6115, allocations: 31.44 kB / 0.8666 GB, free: 25.99 MB / 0.5575 GB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.6115, allocations: 0.625 kB / 0.8666 GB, free: 25.99 MB / 0.5575 GB Notification: Performance of matching and sorting (n=2): time 0.0001795/0.6117, allocations: 50.19 kB / 0.8667 GB, free: 25.94 MB / 0.5575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.64e-05/0.6117, allocations: 52.12 kB / 0.8667 GB, free: 25.88 MB / 0.5575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.124e-05/0.6117, allocations: 104.9 kB / 0.8668 GB, free: 25.77 MB / 0.5575 GB Notification: Performance of collectPreVariables (initialization): time 8.145e-06/0.6118, allocations: 26.61 kB / 0.8668 GB, free: 25.73 MB / 0.5575 GB Notification: Performance of collectInitialEqns (initialization): time 2.187e-05/0.6118, allocations: 93.27 kB / 0.8669 GB, free: 25.64 MB / 0.5575 GB Notification: Performance of collectInitialBindings (initialization): time 1.92e-05/0.6118, allocations: 3.906 kB / 0.8669 GB, free: 25.64 MB / 0.5575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.346e-06/0.6118, allocations: 0 / 0.8669 GB, free: 25.64 MB / 0.5575 GB Notification: Performance of setup shared object (initialization): time 4.446e-05/0.6119, allocations: 315.6 kB / 0.8672 GB, free: 25.32 MB / 0.5575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.624e-05/0.6119, allocations: 8 kB / 0.8672 GB, free: 25.31 MB / 0.5575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.164e-05/0.6119, allocations: 8.875 kB / 0.8673 GB, free: 25.3 MB / 0.5575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.464e-05/0.612, allocations: 9.656 kB / 0.8673 GB, free: 25.3 MB / 0.5575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.612, allocations: 0 / 0.8673 GB, free: 25.3 MB / 0.5575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.743e-05/0.6121, allocations: 45.59 kB / 0.8673 GB, free: 25.25 MB / 0.5575 GB Notification: Performance of prepare postOptimizeDAE: time 9.969e-06/0.6121, allocations: 7.438 kB / 0.8673 GB, free: 25.24 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.6121, allocations: 1.312 kB / 0.8673 GB, free: 25.24 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.6121, allocations: 4 kB / 0.8673 GB, free: 25.24 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.665e-05/0.6122, allocations: 11.94 kB / 0.8673 GB, free: 25.23 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.6122, allocations: 4.438 kB / 0.8673 GB, free: 25.23 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.658e-05/0.6123, allocations: 13.61 kB / 0.8673 GB, free: 25.21 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.6123, allocations: 0 / 0.8673 GB, free: 25.21 MB / 0.5575 GB 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 4.148e-05/0.6123, allocations: 104.9 kB / 0.8674 GB, free: 25.11 MB / 0.5575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.671e-05/0.6124, allocations: 4 kB / 0.8675 GB, free: 25.1 MB / 0.5575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001311/0.6125, allocations: 53.05 kB / 0.8675 GB, free: 25.05 MB / 0.5575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.6125, allocations: 0 / 0.8675 GB, free: 25.05 MB / 0.5575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.6125, allocations: 9.25 kB / 0.8675 GB, free: 25.04 MB / 0.5575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.6125, allocations: 0 / 0.8675 GB, free: 25.04 MB / 0.5575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000105/0.6126, allocations: 146.3 kB / 0.8677 GB, free: 24.86 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.6126, allocations: 0 / 0.8677 GB, free: 24.86 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.838e-05/0.6127, allocations: 5.75 kB / 0.8677 GB, free: 24.86 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.6127, allocations: 7.984 kB / 0.8677 GB, free: 24.85 MB / 0.5575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.983e-06/0.6127, allocations: 3.984 kB / 0.8677 GB, free: 24.84 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.6127, allocations: 0.7188 kB / 0.8677 GB, free: 24.84 MB / 0.5575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.6127, allocations: 0 / 0.8677 GB, free: 24.84 MB / 0.5575 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.957e-05/0.6128, allocations: 148.8 kB / 0.8678 GB, free: 24.68 MB / 0.5575 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001308/0.613, allocations: 0.5136 MB / 0.8683 GB, free: 24.15 MB / 0.5575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.711e-05/0.613, allocations: 81.58 kB / 0.8684 GB, free: 24.05 MB / 0.5575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.466e-05/0.613, allocations: 0 / 0.8684 GB, free: 24.05 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.877e-05/0.6131, allocations: 5.281 kB / 0.8684 GB, free: 24.05 MB / 0.5575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.938e-05/0.6131, allocations: 0 / 0.8684 GB, free: 24.05 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.439e-06/0.6131, allocations: 4.484 kB / 0.8684 GB, free: 24.05 MB / 0.5575 GB Notification: Performance of sort global known variables: time 2.25e-05/0.6132, allocations: 88.5 kB / 0.8685 GB, free: 23.96 MB / 0.5575 GB Notification: Performance of remove unused functions: time 0.0007959/0.614, allocations: 12 kB / 0.8685 GB, free: 23.95 MB / 0.5575 GB 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.0001498/0.6141, allocations: 112.2 kB / 0.8686 GB, free: 23.83 MB / 0.5575 GB Notification: Performance of simCode: created initialization part: time 7.66e-05/0.6142, allocations: 20.52 kB / 0.8686 GB, free: 23.81 MB / 0.5575 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.6142, allocations: 0.5625 kB / 0.8686 GB, free: 23.81 MB / 0.5575 GB Notification: Performance of simCode: created simulation system equations: time 1.883e-05/0.6143, allocations: 12.59 kB / 0.8686 GB, free: 23.8 MB / 0.5575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001414/0.6144, allocations: 0.8125 kB / 0.8686 GB, free: 23.8 MB / 0.5575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002234/0.6146, allocations: 68.44 kB / 0.8687 GB, free: 23.71 MB / 0.5575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001521/0.6148, allocations: 0.693 MB / 0.8694 GB, free: 22.99 MB / 0.5575 GB Notification: Performance of SimCode: time 2.41e-07/0.6148, allocations: 3.938 kB / 0.8694 GB, free: 22.99 MB / 0.5575 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_Splice_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_Splice.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.pipe 2>&1)