Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.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.Functions.Examples.SpliceFunctionDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,fileNamePrefix="IBPSA_latest_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/Complex 4.0.0+maint.om/package.mo): time 0.001628/0.001628, allocations: 188.5 kB / 7.805 MB, free: 2.453 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5707/0.5707, allocations: 90.85 MB / 99.07 MB, free: 14.96 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.298/1.298, allocations: 221.4 MB / 342.8 MB, free: 5.203 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.0009646/0.0009645, allocations: 91.86 kB / 415.5 MB, free: 6.406 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2068/0.2078, allocations: 78.46 MB / 494 MB, free: 7.953 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4075/0.6153, allocations: 72.31 MB / 0.553 GB, free: 73.54 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1219/0.7373, allocations: 101.3 MB / 0.6519 GB, free: 8.77 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002466/0.7376, allocations: 75.95 kB / 0.652 GB, free: 8.695 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.007746/0.7454, allocations: 2.432 MB / 0.6544 GB, free: 6.242 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.859e-05/0.7454, allocations: 8 kB / 0.6544 GB, free: 6.234 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.816e-05/0.7455, allocations: 2.656 kB / 0.6544 GB, free: 6.234 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001483/0.7456, allocations: 167.7 kB / 0.6545 GB, free: 6.031 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/0.7457, allocations: 3.906 kB / 0.6545 GB, free: 6.027 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.568e-05/0.7457, allocations: 4.5 kB / 0.6545 GB, free: 6.023 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.821e-05/0.7458, allocations: 22.77 kB / 0.6546 GB, free: 6.004 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001011/0.7459, allocations: 50.17 kB / 0.6546 GB, free: 5.953 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.7459, allocations: 3.938 kB / 0.6546 GB, free: 5.949 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.7459, allocations: 0 / 0.6546 GB, free: 5.949 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.746, allocations: 0 / 0.6546 GB, free: 5.949 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001895/0.7461, allocations: 147.6 kB / 0.6548 GB, free: 5.77 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.732e-05/0.7462, allocations: 30.53 kB / 0.6548 GB, free: 5.734 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.208e-05/0.7463, allocations: 20.86 kB / 0.6548 GB, free: 5.711 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004913/0.7468, allocations: 0.5602 MB / 0.6553 GB, free: 5.023 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.29e-05/0.7468, allocations: 35.59 kB / 0.6554 GB, free: 4.98 MB / 474.7 MB Notification: Performance of pre-optimization done (n=8): time 1.302e-06/0.7468, allocations: 0 / 0.6554 GB, free: 4.98 MB / 474.7 MB Notification: Performance of matching and sorting (n=15): time 0.001963/0.7488, allocations: 0.8512 MB / 0.6562 GB, free: 4.008 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.416e-05/0.7488, allocations: 55.41 kB / 0.6563 GB, free: 3.941 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.657e-05/0.7489, allocations: 86 kB / 0.6563 GB, free: 3.852 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.748e-05/0.7489, allocations: 26.58 kB / 0.6564 GB, free: 3.82 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.463e-05/0.749, allocations: 80.14 kB / 0.6565 GB, free: 3.738 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.569e-05/0.749, allocations: 48.14 kB / 0.6565 GB, free: 3.691 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.292e-06/0.7491, allocations: 3.938 kB / 0.6565 GB, free: 3.688 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001295/0.7492, allocations: 319.8 kB / 0.6568 GB, free: 3.367 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.615e-05/0.7492, allocations: 24 kB / 0.6568 GB, free: 3.344 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.183e-05/0.7493, allocations: 54.11 kB / 0.6569 GB, free: 3.277 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001078/0.7495, allocations: 40.34 kB / 0.6569 GB, free: 3.242 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.7495, allocations: 0 / 0.6569 GB, free: 3.242 MB / 474.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002277/0.7497, allocations: 114.7 kB / 0.657 GB, free: 3.125 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.7497, allocations: 4.5 kB / 0.657 GB, free: 3.121 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.7497, allocations: 0.625 kB / 0.657 GB, free: 3.121 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.7498, allocations: 4 kB / 0.657 GB, free: 3.117 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001649/0.7499, allocations: 33.36 kB / 0.6571 GB, free: 3.086 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.797e-06/0.7499, allocations: 0 / 0.6571 GB, free: 3.086 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.681e-05/0.75, allocations: 3.906 kB / 0.6571 GB, free: 3.082 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.588e-05/0.75, allocations: 12.59 kB / 0.6571 GB, free: 3.07 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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 9.429e-05/0.7501, allocations: 105.5 kB / 0.6572 GB, free: 2.961 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.833e-05/0.7502, allocations: 12.78 kB / 0.6572 GB, free: 2.949 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003349/0.7505, allocations: 129.4 kB / 0.6573 GB, free: 2.824 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.7505, allocations: 0 / 0.6573 GB, free: 2.824 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.7505, allocations: 0 / 0.6573 GB, free: 2.824 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.7505, allocations: 0 / 0.6573 GB, free: 2.824 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006146/0.7512, allocations: 392.4 kB / 0.6577 GB, free: 2.387 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.7512, allocations: 0 / 0.6577 GB, free: 2.387 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000162/0.7513, allocations: 28.8 kB / 0.6577 GB, free: 2.359 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.169e-06/0.7513, allocations: 1.125 kB / 0.6577 GB, free: 2.359 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.596e-05/0.7514, allocations: 4.969 kB / 0.6577 GB, free: 2.355 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.7514, allocations: 3.281 kB / 0.6577 GB, free: 2.355 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.787e-06/0.7514, allocations: 12.92 kB / 0.6577 GB, free: 2.344 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004033/0.7518, allocations: 307.2 kB / 0.658 GB, free: 1.992 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005608/0.7524, allocations: 0.7121 MB / 0.6587 GB, free: 1.227 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.988e-05/0.7524, allocations: 81.11 kB / 0.6588 GB, free: 1.129 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.103e-05/0.7525, allocations: 0 / 0.6588 GB, free: 1.129 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001128/0.7526, allocations: 9.844 kB / 0.6588 GB, free: 1.121 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.618e-05/0.7526, allocations: 11.98 kB / 0.6588 GB, free: 1.109 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.22e-05/0.7526, allocations: 4 kB / 0.6588 GB, free: 1.105 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.758e-05/0.7527, allocations: 75.28 kB / 0.6589 GB, free: 1.031 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0008778/0.7536, allocations: 40.2 kB / 0.6589 GB, free: 0.9922 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (15): * Single equations (assignments): 15 * 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.0002414/0.7538, allocations: 139.2 kB / 0.6591 GB, free: 0.8477 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001739/0.754, allocations: 71.94 kB / 0.6591 GB, free: 0.7773 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.754, allocations: 3.938 kB / 0.6591 GB, free: 0.7734 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 6.4e-05/0.7541, allocations: 39.94 kB / 0.6592 GB, free: 0.7344 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000166/0.7542, allocations: 8.734 kB / 0.6592 GB, free: 0.7266 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004463/0.7547, allocations: 159.8 kB / 0.6593 GB, free: 0.5352 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003563/0.7551, allocations: 0.7038 MB / 0.66 GB, free: 15.8 MB / 490.7 MB Notification: Performance of SimCode: time 2.61e-07/0.7551, allocations: 0 / 0.66 GB, free: 15.8 MB / 490.7 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1)