Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.Bicubic.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.Examples.Bicubic,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_Bicubic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.Bicubic,fileNamePrefix="IBPSA_latest_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/Complex 4.0.0+maint.om/package.mo): time 0.001242/0.001242, allocations: 184.6 kB / 7.803 MB, free: 2.199 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4654/0.4654, allocations: 90.85 MB / 99.07 MB, free: 14.93 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.257/1.257, 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.001048/0.001048, allocations: 94.78 kB / 415.5 MB, free: 6.426 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1615/0.1626, allocations: 78.45 MB / 494 MB, free: 7.988 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3443/0.5069, allocations: 72.3 MB / 0.553 GB, free: 73.26 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1219/0.6288, allocations: 100.8 MB / 0.6514 GB, free: 9.246 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002486/0.6291, allocations: 76.8 kB / 0.6515 GB, free: 9.172 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.004326/0.6335, allocations: 1.334 MB / 0.6528 GB, free: 7.84 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.6335, allocations: 9.406 kB / 0.6528 GB, free: 7.832 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.742e-05/0.6336, allocations: 7.906 kB / 0.6528 GB, free: 7.824 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001566/0.6337, allocations: 174.9 kB / 0.6529 GB, free: 7.613 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.6338, allocations: 0 / 0.6529 GB, free: 7.613 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.545e-05/0.6338, allocations: 4.656 kB / 0.6529 GB, free: 7.609 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001629/0.634, allocations: 65.61 kB / 0.653 GB, free: 7.547 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001379/0.6341, allocations: 83.02 kB / 0.6531 GB, free: 7.461 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.6341, allocations: 3.281 kB / 0.6531 GB, free: 7.461 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.6341, allocations: 0 / 0.6531 GB, free: 7.461 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.979e-05/0.6342, allocations: 16.67 kB / 0.6531 GB, free: 7.445 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000681/0.6349, allocations: 366.3 kB / 0.6535 GB, free: 7.055 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.51e-05/0.635, allocations: 38.55 kB / 0.6535 GB, free: 7.008 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.616e-05/0.635, allocations: 12.86 kB / 0.6535 GB, free: 6.992 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002776/0.6353, allocations: 121.2 kB / 0.6536 GB, free: 6.855 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.799e-05/0.6353, allocations: 34.56 kB / 0.6537 GB, free: 6.812 MB / 474.7 MB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.6353, allocations: 4 kB / 0.6537 GB, free: 6.809 MB / 474.7 MB Notification: Performance of matching and sorting (n=3): time 0.0003215/0.6357, allocations: 69.56 kB / 0.6537 GB, free: 6.734 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.775e-05/0.6357, allocations: 59.34 kB / 0.6538 GB, free: 6.664 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001217/0.6358, allocations: 135.2 kB / 0.6539 GB, free: 6.523 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.6359, allocations: 29.7 kB / 0.6539 GB, free: 6.488 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.28e-05/0.6359, allocations: 115.6 kB / 0.654 GB, free: 6.371 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.119e-05/0.636, allocations: 7.906 kB / 0.6541 GB, free: 6.363 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.603e-06/0.636, allocations: 0 / 0.6541 GB, free: 6.363 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.6361, allocations: 326.8 kB / 0.6544 GB, free: 6.035 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.415e-05/0.6362, allocations: 16 kB / 0.6544 GB, free: 6.02 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.643e-05/0.6363, allocations: 85.44 kB / 0.6545 GB, free: 5.902 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001404/0.6364, allocations: 59.88 kB / 0.6545 GB, free: 5.844 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.6364, allocations: 0 / 0.6545 GB, free: 5.844 MB / 474.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002628/0.6367, allocations: 145.4 kB / 0.6547 GB, free: 5.695 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.6367, allocations: 4 kB / 0.6547 GB, free: 5.691 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.6367, allocations: 4 kB / 0.6547 GB, free: 5.688 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.6368, allocations: 4 kB / 0.6547 GB, free: 5.684 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001975/0.637, allocations: 44.19 kB / 0.6547 GB, free: 5.641 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.061e-05/0.637, allocations: 11.84 kB / 0.6547 GB, free: 5.629 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001396/0.6371, allocations: 27.83 kB / 0.6548 GB, free: 5.602 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.052e-05/0.6371, allocations: 8 kB / 0.6548 GB, free: 5.594 MB / 474.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 7.72e-05/0.6372, allocations: 109 kB / 0.6549 GB, free: 5.48 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.468e-05/0.6373, allocations: 9.281 kB / 0.6549 GB, free: 5.473 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002526/0.6375, allocations: 93.7 kB / 0.655 GB, free: 5.371 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.6375, allocations: 0 / 0.655 GB, free: 5.371 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.6376, allocations: 0 / 0.655 GB, free: 5.371 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.6376, allocations: 4 kB / 0.655 GB, free: 5.367 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002036/0.6378, allocations: 173.1 kB / 0.6551 GB, free: 5.164 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.6378, allocations: 1.25 kB / 0.6551 GB, free: 5.164 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001266/0.6379, allocations: 27.98 kB / 0.6552 GB, free: 5.137 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.6379, allocations: 0 / 0.6552 GB, free: 5.137 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.6379, allocations: 0 / 0.6552 GB, free: 5.137 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.6379, allocations: 0 / 0.6552 GB, free: 5.137 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/0.638, allocations: 0 / 0.6552 GB, free: 5.137 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002243/0.6382, allocations: 167.4 kB / 0.6553 GB, free: 4.957 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003352/0.6385, allocations: 0.5504 MB / 0.6559 GB, free: 4.387 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.833e-05/0.6386, allocations: 85.02 kB / 0.6559 GB, free: 4.285 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.97e-05/0.6386, allocations: 2.75 kB / 0.6559 GB, free: 4.285 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001399/0.6388, allocations: 20.22 kB / 0.656 GB, free: 4.266 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.631e-05/0.6388, allocations: 7.984 kB / 0.656 GB, free: 4.258 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.886e-06/0.6388, allocations: 4 kB / 0.656 GB, free: 4.254 MB / 474.7 MB Notification: Performance of sort global known variables: time 6.063e-05/0.6389, allocations: 105.9 kB / 0.6561 GB, free: 4.152 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0008335/0.6397, allocations: 16 kB / 0.6561 GB, free: 4.137 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 (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.0001646/0.6399, allocations: 107.2 kB / 0.6562 GB, free: 4.023 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001377/0.6401, allocations: 56.31 kB / 0.6562 GB, free: 3.969 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.6401, allocations: 0 / 0.6562 GB, free: 3.969 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 3.881e-05/0.6401, allocations: 15.98 kB / 0.6563 GB, free: 3.953 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001823/0.6403, allocations: 14.25 kB / 0.6563 GB, free: 3.941 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003083/0.6406, allocations: 95.48 kB / 0.6564 GB, free: 3.824 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003662/0.641, allocations: 0.719 MB / 0.6571 GB, free: 3.082 MB / 474.7 MB Notification: Performance of SimCode: time 3.11e-07/0.641, allocations: 0 / 0.6571 GB, free: 3.082 MB / 474.7 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Bicubic.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.Bicubic.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.Bicubic.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.Bicubic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_Bicubic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_Bicubic.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.Bicubic.pipe 2>&1)