Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.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.Functions.Examples.SpliceFunction,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_SpliceFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_SpliceFunction",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.7604/0.7604, allocations: 127.4 MB / 134.6 MB, free: 4.086 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.001184/0.001184, allocations: 185.3 kB / 164.4 MB, free: 6.895 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.55/1.55, allocations: 205.1 MB / 399.1 MB, free: 6.082 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.0009089/0.0009089, allocations: 89.83 kB / 476.3 MB, free: 8.836 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3123/0.3132, allocations: 82.9 MB / 0.5461 GB, free: 42.64 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1627/0.4759, allocations: 76.75 MB / 0.621 GB, free: 13.82 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4411/0.9171, allocations: 102 MB / 0.7206 GB, free: 10.32 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002613/0.9174, allocations: 83.95 kB / 0.7207 GB, free: 10.24 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.003863/0.9213, allocations: 1.237 MB / 0.7219 GB, free: 8.965 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.9213, allocations: 8 kB / 0.7219 GB, free: 8.957 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.032e-05/0.9214, allocations: 0 / 0.7219 GB, free: 8.957 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.294e-05/0.9215, allocations: 159.1 kB / 0.7221 GB, free: 8.762 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.9215, allocations: 4 kB / 0.7221 GB, free: 8.758 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.137e-06/0.9215, allocations: 0 / 0.7221 GB, free: 8.758 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.243e-05/0.9216, allocations: 4 kB / 0.7221 GB, free: 8.754 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.691e-05/0.9216, allocations: 29.69 kB / 0.7221 GB, free: 8.719 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.9217, allocations: 3.906 kB / 0.7221 GB, free: 8.715 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.876e-06/0.9217, allocations: 0 / 0.7221 GB, free: 8.715 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.064e-06/0.9217, allocations: 3.984 kB / 0.7221 GB, free: 8.711 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001234/0.9218, allocations: 130.2 kB / 0.7222 GB, free: 8.547 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.694e-05/0.9219, allocations: 18.58 kB / 0.7222 GB, free: 8.52 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.512e-05/0.9219, allocations: 4.859 kB / 0.7222 GB, free: 8.512 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004722/0.9224, allocations: 0.5584 MB / 0.7228 GB, free: 7.824 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.541e-05/0.9224, allocations: 39.67 kB / 0.7228 GB, free: 7.777 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.9224, allocations: 0 / 0.7228 GB, free: 7.777 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001516/0.9226, allocations: 33.7 kB / 0.7229 GB, free: 7.738 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.7e-05/0.9226, allocations: 51.41 kB / 0.7229 GB, free: 7.676 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.372e-05/0.9226, allocations: 85.55 kB / 0.723 GB, free: 7.586 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.131e-05/0.9226, allocations: 25.7 kB / 0.723 GB, free: 7.555 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.837e-05/0.9227, allocations: 80.14 kB / 0.7231 GB, free: 7.473 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.001e-05/0.9227, allocations: 8.781 kB / 0.7231 GB, free: 7.465 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.557e-06/0.9227, allocations: 0 / 0.7231 GB, free: 7.465 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001257/0.9229, allocations: 321 kB / 0.7234 GB, free: 7.145 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.734e-06/0.9229, allocations: 32 / 0.7234 GB, free: 7.145 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.969e-06/0.9229, allocations: 4 kB / 0.7234 GB, free: 7.141 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.755e-05/0.9229, allocations: 7.984 kB / 0.7234 GB, free: 7.133 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.9229, allocations: 0 / 0.7234 GB, free: 7.133 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.69e-05/0.923, allocations: 29.7 kB / 0.7234 GB, free: 7.098 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.923, allocations: 4 kB / 0.7234 GB, free: 7.094 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.137e-06/0.923, allocations: 4 kB / 0.7235 GB, free: 7.09 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.9231, allocations: 7.844 kB / 0.7235 GB, free: 7.082 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.278e-05/0.9231, allocations: 0 / 0.7235 GB, free: 7.082 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.887e-06/0.9231, allocations: 0 / 0.7235 GB, free: 7.082 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.144e-05/0.9231, allocations: 4.094 kB / 0.7235 GB, free: 7.078 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.9232, allocations: 4 kB / 0.7235 GB, free: 7.074 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 (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 7.104e-05/0.9232, allocations: 108.4 kB / 0.7236 GB, free: 6.965 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.372e-06/0.9232, allocations: 0 / 0.7236 GB, free: 6.965 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001243/0.9234, allocations: 48.62 kB / 0.7236 GB, free: 6.914 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.097e-06/0.9234, allocations: 7.938 kB / 0.7236 GB, free: 6.906 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.9234, allocations: 0.5 kB / 0.7236 GB, free: 6.906 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.9234, allocations: 0 / 0.7236 GB, free: 6.906 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.742e-05/0.9235, allocations: 126.2 kB / 0.7237 GB, free: 6.746 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.9235, allocations: 5.75 kB / 0.7238 GB, free: 6.742 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.592e-05/0.9235, allocations: 4 kB / 0.7238 GB, free: 6.738 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/0.9235, allocations: 0 / 0.7238 GB, free: 6.738 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.9235, allocations: 0 / 0.7238 GB, free: 6.738 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.9235, allocations: 0 / 0.7238 GB, free: 6.738 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.9235, allocations: 0 / 0.7238 GB, free: 6.738 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.202e-05/0.9236, allocations: 71.53 kB / 0.7238 GB, free: 6.652 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001868/0.9238, allocations: 437.5 kB / 0.7242 GB, free: 6.203 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.305e-05/0.9239, allocations: 81.02 kB / 0.7243 GB, free: 6.105 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.041e-05/0.9239, allocations: 0 / 0.7243 GB, free: 6.105 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.16e-05/0.9239, allocations: 4.062 kB / 0.7243 GB, free: 6.102 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.66e-05/0.9239, allocations: 4 kB / 0.7243 GB, free: 6.098 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.346e-06/0.9239, allocations: 4 kB / 0.7243 GB, free: 6.094 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.349e-05/0.924, allocations: 75.28 kB / 0.7244 GB, free: 6.02 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000807/0.9248, allocations: 11.94 kB / 0.7244 GB, free: 6.008 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 (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.0001735/0.925, allocations: 107.2 kB / 0.7245 GB, free: 5.895 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 5.368e-05/0.925, allocations: 4 kB / 0.7245 GB, free: 5.891 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.925, allocations: 0 / 0.7245 GB, free: 5.891 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 6.262e-06/0.925, allocations: 8 kB / 0.7245 GB, free: 5.883 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.243e-05/0.9251, allocations: 3.906 kB / 0.7245 GB, free: 5.879 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001671/0.9253, allocations: 40.08 kB / 0.7246 GB, free: 5.816 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002471/0.9256, allocations: 0.6841 MB / 0.7252 GB, free: 5.105 MB / 490.7 MB Notification: Performance of SimCode: time 2.2e-07/0.9256, allocations: 0 / 0.7252 GB, free: 5.105 MB / 490.7 MB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_SpliceFunction_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_SpliceFunction.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1)