Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation.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.SmoothInterpolation,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SmoothInterpolation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SmoothInterpolation",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.002469/0.002469, allocations: 188 kB / 7.803 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4808/0.4808, allocations: 90.84 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.461/1.461, allocations: 221.4 MB / 342.7 MB, free: 5.211 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.0009702/0.0009705, allocations: 98.86 kB / 415.5 MB, free: 6.414 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1787/0.1797, allocations: 78.46 MB / 494 MB, free: 7.965 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4234/0.6031, allocations: 72.31 MB / 0.553 GB, free: 73.38 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1254/0.7286, allocations: 101.7 MB / 0.6523 GB, free: 8.285 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002652/0.7289, allocations: 88.55 kB / 0.6524 GB, free: 8.199 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.01174/0.7407, allocations: 3.626 MB / 0.6559 GB, free: 4.57 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/0.7407, allocations: 12.59 kB / 0.656 GB, free: 4.559 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.891e-05/0.7408, allocations: 3.906 kB / 0.656 GB, free: 4.555 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001515/0.7409, allocations: 164.2 kB / 0.6561 GB, free: 4.355 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.581e-05/0.741, allocations: 0 / 0.6561 GB, free: 4.355 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.935e-05/0.741, allocations: 4 kB / 0.6561 GB, free: 4.352 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001008/0.7411, allocations: 32.62 kB / 0.6562 GB, free: 4.32 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001183/0.7412, allocations: 70.14 kB / 0.6562 GB, free: 4.246 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.7412, allocations: 0 / 0.6562 GB, free: 4.246 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/0.7413, allocations: 0.5312 kB / 0.6562 GB, free: 4.246 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.7413, allocations: 4.656 kB / 0.6562 GB, free: 4.246 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001545/0.7414, allocations: 138.2 kB / 0.6564 GB, free: 4.074 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.811e-05/0.7415, allocations: 63.08 kB / 0.6564 GB, free: 4.004 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.883e-05/0.7416, allocations: 41.34 kB / 0.6565 GB, free: 3.961 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.027e-05/0.7416, allocations: 0.5 kB / 0.6565 GB, free: 3.961 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.823e-05/0.7417, allocations: 31.41 kB / 0.6565 GB, free: 3.922 MB / 474.7 MB Notification: Performance of pre-optimization done (n=7): time 9.82e-07/0.7417, allocations: 0 / 0.6565 GB, free: 3.922 MB / 474.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003742/0.742, allocations: 110.3 kB / 0.6566 GB, free: 3.809 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.138e-05/0.7421, allocations: 85.55 kB / 0.6567 GB, free: 3.707 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.536e-05/0.7422, allocations: 107.4 kB / 0.6568 GB, free: 3.598 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.521e-05/0.7422, allocations: 30.42 kB / 0.6568 GB, free: 3.562 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.457e-05/0.7423, allocations: 84.89 kB / 0.6569 GB, free: 3.477 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.585e-05/0.7423, allocations: 15.72 kB / 0.6569 GB, free: 3.461 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.004e-06/0.7423, allocations: 7.969 kB / 0.6569 GB, free: 3.453 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000157/0.7425, allocations: 322.8 kB / 0.6572 GB, free: 3.129 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.752e-05/0.7426, allocations: 23.98 kB / 0.6572 GB, free: 3.105 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.045e-05/0.7426, allocations: 27.97 kB / 0.6573 GB, free: 3.078 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001837/0.7428, allocations: 31.97 kB / 0.6573 GB, free: 3.047 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.7428, allocations: 0 / 0.6573 GB, free: 3.047 MB / 474.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002491/0.7431, allocations: 101.5 kB / 0.6574 GB, free: 2.941 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.7431, allocations: 4 kB / 0.6574 GB, free: 2.938 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.7431, allocations: 4 kB / 0.6574 GB, free: 2.934 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.7431, allocations: 0 / 0.6574 GB, free: 2.934 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.293e-06/0.7431, allocations: 4.062 kB / 0.6574 GB, free: 2.93 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.7431, allocations: 3.984 kB / 0.6574 GB, free: 2.926 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.79e-05/0.7432, allocations: 5.875 kB / 0.6574 GB, free: 2.922 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.222e-05/0.7432, allocations: 13.09 kB / 0.6574 GB, free: 2.91 MB / 474.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): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.000113/0.7433, allocations: 142.6 kB / 0.6576 GB, free: 2.758 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.675e-05/0.7434, allocations: 4 kB / 0.6576 GB, free: 2.754 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.164e-05/0.7434, allocations: 8.281 kB / 0.6576 GB, free: 2.746 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.7434, allocations: 0 / 0.6576 GB, free: 2.746 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.7434, allocations: 0 / 0.6576 GB, free: 2.746 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.7434, allocations: 4 kB / 0.6576 GB, free: 2.742 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001231/0.7436, allocations: 146.2 kB / 0.6577 GB, free: 2.562 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.7436, allocations: 5.531 kB / 0.6577 GB, free: 2.559 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.51e-07/0.7436, allocations: 0 / 0.6577 GB, free: 2.559 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.7436, allocations: 0 / 0.6577 GB, free: 2.559 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.5e-05/0.7436, allocations: 7.906 kB / 0.6577 GB, free: 2.551 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.7436, allocations: 4 kB / 0.6577 GB, free: 2.547 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.7436, allocations: 0 / 0.6577 GB, free: 2.547 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002961/0.7439, allocations: 149 kB / 0.6579 GB, free: 2.383 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003887/0.7443, allocations: 0.5235 MB / 0.6584 GB, free: 1.84 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.418e-05/0.7444, allocations: 81.02 kB / 0.6585 GB, free: 1.742 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.288e-05/0.7444, allocations: 4 kB / 0.6585 GB, free: 1.738 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.024e-05/0.7444, allocations: 11.88 kB / 0.6585 GB, free: 1.727 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.168e-05/0.7445, allocations: 3.984 kB / 0.6585 GB, free: 1.723 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.647e-05/0.7445, allocations: 8 kB / 0.6585 GB, free: 1.715 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.296e-05/0.7445, allocations: 96.19 kB / 0.6586 GB, free: 1.621 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0009163/0.7454, allocations: 79.94 kB / 0.6587 GB, free: 1.543 MB / 474.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): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0003642/0.7458, allocations: 176.7 kB / 0.6588 GB, free: 1.363 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001756/0.746, allocations: 105.7 kB / 0.6589 GB, free: 1.254 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.746, allocations: 1.969 kB / 0.6589 GB, free: 1.254 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 9.728e-05/0.7461, allocations: 105.7 kB / 0.659 GB, free: 1.145 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001203/0.7462, allocations: 7.906 kB / 0.659 GB, free: 1.137 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002806/0.7465, allocations: 115.8 kB / 0.6591 GB, free: 1 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002888/0.7468, allocations: 0.6958 MB / 0.6598 GB, free: 284 kB / 474.7 MB Notification: Performance of SimCode: time 2.8e-07/0.7468, allocations: 0 / 0.6598 GB, free: 284 kB / 474.7 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SmoothInterpolation_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SmoothInterpolation.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1)