Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Bicubic.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.Examples.Bicubic,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Bicubic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.Bicubic,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Bicubic",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.695/0.695, allocations: 127.4 MB / 134.6 MB, free: 4.082 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.001325/0.001325, allocations: 181.3 kB / 164.4 MB, free: 6.879 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.721/1.721, allocations: 205.1 MB / 399.1 MB, free: 6.051 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.0009722/0.000972, allocations: 81.97 kB / 476.3 MB, free: 8.805 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3456/0.3466, allocations: 82.89 MB / 0.5461 GB, free: 42.63 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1806/0.5272, allocations: 76.75 MB / 0.621 GB, free: 13.8 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.487/1.014, allocations: 101.8 MB / 0.7204 GB, free: 10.46 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002507/1.015, allocations: 79.89 kB / 0.7205 GB, free: 10.39 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.004157/1.019, allocations: 1.345 MB / 0.7218 GB, free: 9 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/1.019, allocations: 8 kB / 0.7218 GB, free: 8.992 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.105e-05/1.019, allocations: 3.906 kB / 0.7218 GB, free: 8.988 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001412/1.019, allocations: 171 kB / 0.722 GB, free: 8.781 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/1.019, allocations: 4 kB / 0.722 GB, free: 8.777 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.443e-05/1.019, allocations: 0 / 0.722 GB, free: 8.777 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001557/1.019, allocations: 79.83 kB / 0.7221 GB, free: 8.699 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001441/1.019, allocations: 77.67 kB / 0.7221 GB, free: 8.617 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/1.019, allocations: 0 / 0.7221 GB, free: 8.617 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.807e-05/1.019, allocations: 3.984 kB / 0.7221 GB, free: 8.613 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.388e-05/1.019, allocations: 11.98 kB / 0.7222 GB, free: 8.602 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007854/1.02, allocations: 353.2 kB / 0.7225 GB, free: 8.219 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.933e-05/1.02, allocations: 38.5 kB / 0.7225 GB, free: 8.172 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.486e-05/1.02, allocations: 20.77 kB / 0.7225 GB, free: 8.148 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002966/1.021, allocations: 121.2 kB / 0.7227 GB, free: 8.012 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.53e-05/1.021, allocations: 35.11 kB / 0.7227 GB, free: 7.969 MB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 3.116e-06/1.021, allocations: 0 / 0.7227 GB, free: 7.969 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.0003236/1.021, allocations: 83.64 kB / 0.7228 GB, free: 7.883 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.119e-05/1.021, allocations: 51.41 kB / 0.7228 GB, free: 7.82 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001399/1.021, allocations: 125.2 kB / 0.7229 GB, free: 7.688 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.949e-05/1.021, allocations: 25.7 kB / 0.723 GB, free: 7.656 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.857e-05/1.021, allocations: 119.6 kB / 0.7231 GB, free: 7.535 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.293e-05/1.021, allocations: 7.906 kB / 0.7231 GB, free: 7.527 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.935e-06/1.021, allocations: 0 / 0.7231 GB, free: 7.527 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002209/1.022, allocations: 318.8 kB / 0.7234 GB, free: 7.207 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.926e-05/1.022, allocations: 24 kB / 0.7234 GB, free: 7.184 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001151/1.022, allocations: 89.38 kB / 0.7235 GB, free: 7.062 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001503/1.022, allocations: 59.84 kB / 0.7236 GB, free: 7.004 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/1.022, allocations: 4 kB / 0.7236 GB, free: 7 MB / 490.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002834/1.022, allocations: 137.6 kB / 0.7237 GB, free: 6.859 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.388e-05/1.022, allocations: 8 kB / 0.7237 GB, free: 6.852 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/1.022, allocations: 0 / 0.7237 GB, free: 6.852 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.764e-05/1.022, allocations: 4.75 kB / 0.7237 GB, free: 6.848 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002114/1.023, allocations: 44.45 kB / 0.7237 GB, free: 6.805 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.531e-05/1.023, allocations: 10.06 kB / 0.7238 GB, free: 6.797 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001384/1.023, allocations: 30.39 kB / 0.7238 GB, free: 6.77 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.998e-05/1.023, allocations: 15.98 kB / 0.7238 GB, free: 6.754 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 0.000122/1.023, allocations: 108.9 kB / 0.7239 GB, free: 6.641 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.344e-05/1.023, allocations: 11.84 kB / 0.7239 GB, free: 6.629 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002793/1.023, allocations: 89.77 kB / 0.724 GB, free: 6.531 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/1.023, allocations: 7.938 kB / 0.724 GB, free: 6.523 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/1.023, allocations: 0 / 0.724 GB, free: 6.523 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/1.023, allocations: 3.906 kB / 0.724 GB, free: 6.52 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001629/1.024, allocations: 158.1 kB / 0.7242 GB, free: 6.328 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/1.024, allocations: 0 / 0.7242 GB, free: 6.328 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001176/1.024, allocations: 27.92 kB / 0.7242 GB, free: 6.301 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/1.024, allocations: 0 / 0.7242 GB, free: 6.301 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/1.024, allocations: 0 / 0.7242 GB, free: 6.301 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/1.024, allocations: 4 kB / 0.7242 GB, free: 6.297 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/1.024, allocations: 0 / 0.7242 GB, free: 6.297 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002205/1.024, allocations: 176 kB / 0.7244 GB, free: 6.109 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003375/1.024, allocations: 0.5391 MB / 0.7249 GB, free: 5.551 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.044e-05/1.024, allocations: 85.05 kB / 0.725 GB, free: 5.449 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.134e-05/1.024, allocations: 0 / 0.725 GB, free: 5.449 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001336/1.024, allocations: 23.97 kB / 0.725 GB, free: 5.426 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.579e-05/1.025, allocations: 7.938 kB / 0.725 GB, free: 5.418 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.508e-06/1.025, allocations: 8 kB / 0.725 GB, free: 5.41 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.613e-05/1.025, allocations: 105.8 kB / 0.7251 GB, free: 5.309 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0008749/1.026, allocations: 19.91 kB / 0.7251 GB, free: 5.289 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 (3): * Single equations (assignments): 3 * 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.0002633/1.026, allocations: 103.2 kB / 0.7252 GB, free: 5.18 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001792/1.026, allocations: 52.42 kB / 0.7253 GB, free: 5.129 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.633e-06/1.026, allocations: 4.125 kB / 0.7253 GB, free: 5.125 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 3.945e-05/1.026, allocations: 19.94 kB / 0.7253 GB, free: 5.105 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002296/1.026, allocations: 4 kB / 0.7253 GB, free: 5.102 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003896/1.027, allocations: 103.6 kB / 0.7254 GB, free: 4.977 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005797/1.027, allocations: 0.7149 MB / 0.7261 GB, free: 4.238 MB / 490.7 MB Notification: Performance of SimCode: time 2.51e-07/1.027, allocations: 0 / 0.7261 GB, free: 4.238 MB / 490.7 MB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Bicubic.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Bicubic.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Bicubic.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Bicubic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Bicubic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Bicubic.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Bicubic.pipe 2>&1)