Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.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.SpliceFunctionDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck",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.6691/0.6691, 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.00117/0.00117, allocations: 181.3 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.495/1.495, allocations: 205.1 MB / 399.1 MB, free: 6.09 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.001019/0.001019, allocations: 89.53 kB / 476.3 MB, free: 8.844 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3265/0.3275, allocations: 82.91 MB / 0.5461 GB, free: 42.65 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1655/0.4931, allocations: 76.75 MB / 0.621 GB, free: 13.82 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4656/0.9587, allocations: 102.2 MB / 0.7208 GB, free: 10.19 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002572/0.959, allocations: 79.94 kB / 0.7209 GB, free: 10.11 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.006584/0.9656, allocations: 1.911 MB / 0.7227 GB, free: 8.164 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.867e-05/0.9657, allocations: 8 kB / 0.7227 GB, free: 8.156 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.476e-05/0.9657, allocations: 0 / 0.7227 GB, free: 8.156 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001999/0.9659, allocations: 174.9 kB / 0.7229 GB, free: 7.945 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.915e-05/0.966, allocations: 0 / 0.7229 GB, free: 7.945 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.945e-05/0.966, allocations: 0 / 0.7229 GB, free: 7.945 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.864e-05/0.9661, allocations: 16 kB / 0.7229 GB, free: 7.93 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001172/0.9662, allocations: 41.69 kB / 0.723 GB, free: 7.883 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.9663, allocations: 0 / 0.723 GB, free: 7.883 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.756e-05/0.9663, allocations: 0 / 0.723 GB, free: 7.883 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/0.9663, allocations: 4 kB / 0.723 GB, free: 7.879 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002584/0.9666, allocations: 146.7 kB / 0.7231 GB, free: 7.699 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.974e-05/0.9667, allocations: 34.64 kB / 0.7231 GB, free: 7.656 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.931e-05/0.9667, allocations: 20.98 kB / 0.7232 GB, free: 7.633 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006388/0.9674, allocations: 0.5583 MB / 0.7237 GB, free: 6.945 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.08e-05/0.9674, allocations: 33.12 kB / 0.7237 GB, free: 6.906 MB / 490.7 MB Notification: Performance of pre-optimization done (n=5): time 1.654e-06/0.9674, allocations: 0 / 0.7237 GB, free: 6.906 MB / 490.7 MB Notification: Performance of matching and sorting (n=8): time 0.001022/0.9685, allocations: 347.8 kB / 0.7241 GB, free: 6.516 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.418e-05/0.9685, allocations: 55.34 kB / 0.7241 GB, free: 6.449 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.721e-05/0.9686, allocations: 89 kB / 0.7242 GB, free: 6.355 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.736e-05/0.9687, allocations: 25.7 kB / 0.7242 GB, free: 6.324 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.925e-05/0.9687, allocations: 80.14 kB / 0.7243 GB, free: 6.242 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.022e-05/0.9688, allocations: 27.64 kB / 0.7243 GB, free: 6.215 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.5e-06/0.9688, allocations: 0 / 0.7243 GB, free: 6.215 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.9689, allocations: 314.8 kB / 0.7246 GB, free: 5.898 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.755e-05/0.9689, allocations: 24.12 kB / 0.7247 GB, free: 5.875 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.144e-05/0.969, allocations: 12.94 kB / 0.7247 GB, free: 5.863 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.179e-05/0.9691, allocations: 23.98 kB / 0.7247 GB, free: 5.84 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.9691, allocations: 4.125 kB / 0.7247 GB, free: 5.836 MB / 490.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001633/0.9692, allocations: 85.55 kB / 0.7248 GB, free: 5.746 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.9693, allocations: 8 kB / 0.7248 GB, free: 5.738 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.9693, allocations: 0 / 0.7248 GB, free: 5.738 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.9693, allocations: 0 / 0.7248 GB, free: 5.738 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001213/0.9694, allocations: 12 kB / 0.7248 GB, free: 5.727 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.201e-06/0.9694, allocations: 0 / 0.7248 GB, free: 5.727 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.997e-05/0.9695, allocations: 7.906 kB / 0.7248 GB, free: 5.719 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.262e-05/0.9695, allocations: 8 kB / 0.7248 GB, free: 5.711 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 (9): * Single equations (assignments): 9 * 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 8.268e-05/0.9696, allocations: 104.9 kB / 0.7249 GB, free: 5.602 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.051e-05/0.9696, allocations: 7.984 kB / 0.7249 GB, free: 5.594 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002844/0.9699, allocations: 93.48 kB / 0.725 GB, free: 5.5 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.9699, allocations: 0 / 0.725 GB, free: 5.5 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.9699, allocations: 4 kB / 0.725 GB, free: 5.496 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.9699, allocations: 256 / 0.725 GB, free: 5.496 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001235/0.9701, allocations: 150.2 kB / 0.7252 GB, free: 5.312 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.9701, allocations: 8 kB / 0.7252 GB, free: 5.305 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001115/0.9702, allocations: 12 kB / 0.7252 GB, free: 5.293 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.9702, allocations: 0 / 0.7252 GB, free: 5.293 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/0.9702, allocations: 3.984 kB / 0.7252 GB, free: 5.289 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.9702, allocations: 0 / 0.7252 GB, free: 5.289 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.9703, allocations: 7.844 kB / 0.7252 GB, free: 5.281 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002359/0.9705, allocations: 121.1 kB / 0.7253 GB, free: 5.145 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003749/0.9709, allocations: 0.5259 MB / 0.7258 GB, free: 4.598 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.546e-05/0.9709, allocations: 85.11 kB / 0.7259 GB, free: 4.496 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.967e-05/0.971, allocations: 7.922 kB / 0.7259 GB, free: 4.488 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.625e-05/0.971, allocations: 0 / 0.7259 GB, free: 4.488 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.608e-05/0.9711, allocations: 8 kB / 0.7259 GB, free: 4.48 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.874e-06/0.9711, allocations: 0 / 0.7259 GB, free: 4.48 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.812e-05/0.9711, allocations: 83.34 kB / 0.726 GB, free: 4.398 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0007989/0.9719, allocations: 35.92 kB / 0.726 GB, free: 4.363 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0003032/0.9722, allocations: 135.3 kB / 0.7262 GB, free: 4.219 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001456/0.9724, allocations: 51.94 kB / 0.7262 GB, free: 4.168 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.9724, allocations: 0 / 0.7262 GB, free: 4.168 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 4.911e-05/0.9724, allocations: 27.94 kB / 0.7262 GB, free: 4.141 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001309/0.9726, allocations: 3.188 kB / 0.7262 GB, free: 4.141 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004157/0.973, allocations: 100.3 kB / 0.7263 GB, free: 4.02 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003941/0.9734, allocations: 0.6958 MB / 0.727 GB, free: 3.297 MB / 490.7 MB Notification: Performance of SimCode: time 2.174e-06/0.9734, allocations: 0 / 0.727 GB, free: 3.297 MB / 490.7 MB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1)