Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.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.SmoothBlocks,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothBlocks",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.001225/0.001225, allocations: 188.2 kB / 7.801 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4791/0.4791, allocations: 90.84 MB / 99.06 MB, free: 14.95 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.326/1.326, allocations: 221.4 MB / 342.8 MB, free: 5.191 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.001043/0.001043, allocations: 94.84 kB / 415.5 MB, free: 6.414 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1767/0.1778, allocations: 78.45 MB / 494 MB, free: 7.961 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4166/0.5944, allocations: 72.3 MB / 0.553 GB, free: 73.31 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1225/0.7169, allocations: 102.5 MB / 0.6531 GB, free: 7.441 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002382/0.7172, allocations: 74.23 kB / 0.6532 GB, free: 7.371 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.01703/0.7343, allocations: 5.155 MB / 0.6582 GB, free: 2.227 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/0.7344, allocations: 12 kB / 0.6582 GB, free: 2.215 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000843/0.7352, allocations: 134.9 kB / 0.6583 GB, free: 2.086 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000187/0.7354, allocations: 190.7 kB / 0.6585 GB, free: 1.859 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001442/0.7356, allocations: 64.89 kB / 0.6586 GB, free: 1.785 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.853e-05/0.7356, allocations: 12 kB / 0.6586 GB, free: 1.773 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001994/0.7358, allocations: 71.98 kB / 0.6587 GB, free: 1.703 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002236/0.7361, allocations: 97.64 kB / 0.6588 GB, free: 1.602 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.809e-06/0.7361, allocations: 0 / 0.6588 GB, free: 1.602 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.711e-05/0.7361, allocations: 3.906 kB / 0.6588 GB, free: 1.598 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.7361, allocations: 4 kB / 0.6588 GB, free: 1.594 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001194/0.7373, allocations: 488.2 kB / 0.6592 GB, free: 1.078 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001746/0.7375, allocations: 91.81 kB / 0.6593 GB, free: 0.9805 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.476e-05/0.7376, allocations: 32.98 kB / 0.6594 GB, free: 0.9453 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.765e-05/0.7376, allocations: 11.97 kB / 0.6594 GB, free: 0.9336 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.358e-05/0.7377, allocations: 38.56 kB / 0.6594 GB, free: 0.8867 MB / 474.7 MB Notification: Performance of pre-optimization done (n=6): time 1.774e-06/0.7377, allocations: 0 / 0.6594 GB, free: 0.8867 MB / 474.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003352/0.738, allocations: 101.6 kB / 0.6595 GB, free: 0.7812 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.194e-05/0.7381, allocations: 51.41 kB / 0.6596 GB, free: 0.7188 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001281/0.7382, allocations: 121 kB / 0.6597 GB, free: 0.5938 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.837e-05/0.7382, allocations: 28.14 kB / 0.6597 GB, free: 0.5625 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.06e-05/0.7383, allocations: 104.1 kB / 0.6598 GB, free: 464 kB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.677e-05/0.7383, allocations: 15.75 kB / 0.6598 GB, free: 448 kB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.869e-06/0.7383, allocations: 7.938 kB / 0.6598 GB, free: 440 kB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001251/0.7385, allocations: 322.7 kB / 0.6601 GB, free: 108 kB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.956e-05/0.7385, allocations: 36 kB / 0.6602 GB, free: 72 kB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.021e-05/0.7386, allocations: 50.5 kB / 0.6602 GB, free: 12 kB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000132/0.7388, allocations: 32.06 kB / 0.6602 GB, free: 15.98 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.726e-06/0.7388, allocations: 0 / 0.6602 GB, free: 15.98 MB / 490.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002309/0.739, allocations: 123 kB / 0.6604 GB, free: 15.85 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.739, allocations: 4 kB / 0.6604 GB, free: 15.85 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.7391, allocations: 0 / 0.6604 GB, free: 15.85 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.7391, allocations: 4 kB / 0.6604 GB, free: 15.84 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003267/0.7394, allocations: 48.02 kB / 0.6604 GB, free: 15.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/0.7394, allocations: 0 / 0.6604 GB, free: 15.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002604/0.7397, allocations: 39.88 kB / 0.6604 GB, free: 15.76 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.546e-05/0.7397, allocations: 7.984 kB / 0.6605 GB, free: 15.75 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 0.000107/0.7398, allocations: 101 kB / 0.6606 GB, free: 15.64 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.989e-05/0.7399, allocations: 7.906 kB / 0.6606 GB, free: 15.64 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003031/0.7402, allocations: 122.1 kB / 0.6607 GB, free: 15.51 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.259e-06/0.7402, allocations: 1.562 kB / 0.6607 GB, free: 15.51 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/0.7402, allocations: 4 kB / 0.6607 GB, free: 15.51 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/0.7403, allocations: 7.891 kB / 0.6607 GB, free: 15.5 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002592/0.7405, allocations: 206.9 kB / 0.6609 GB, free: 15.26 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.7405, allocations: 0 / 0.6609 GB, free: 15.26 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002658/0.7408, allocations: 43.95 kB / 0.6609 GB, free: 15.22 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.7408, allocations: 3 kB / 0.6609 GB, free: 15.22 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/0.7408, allocations: 4 kB / 0.6609 GB, free: 15.21 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.7409, allocations: 4 kB / 0.6609 GB, free: 15.21 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.7409, allocations: 3.906 kB / 0.6609 GB, free: 15.21 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002834/0.7412, allocations: 201.8 kB / 0.6611 GB, free: 15 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004685/0.7416, allocations: 0.5701 MB / 0.6617 GB, free: 14.41 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.463e-05/0.7417, allocations: 85.02 kB / 0.6618 GB, free: 14.3 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.102e-05/0.7418, allocations: 4 kB / 0.6618 GB, free: 14.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003641/0.7421, allocations: 51.95 kB / 0.6618 GB, free: 14.25 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.288e-05/0.7422, allocations: 7.984 kB / 0.6618 GB, free: 14.24 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.619e-05/0.7422, allocations: 4 kB / 0.6618 GB, free: 14.24 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.512e-05/0.7423, allocations: 106.3 kB / 0.6619 GB, free: 14.14 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0008793/0.7432, allocations: 23.91 kB / 0.662 GB, free: 14.11 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 (6): * Single equations (assignments): 6 * 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.0001895/0.7434, allocations: 99.25 kB / 0.6621 GB, free: 14.01 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002579/0.7436, allocations: 79.92 kB / 0.6621 GB, free: 13.93 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.7437, allocations: 0 / 0.6621 GB, free: 13.93 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 9.119e-05/0.7437, allocations: 43.98 kB / 0.6622 GB, free: 13.89 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000272/0.744, allocations: 4.766 kB / 0.6622 GB, free: 13.89 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005258/0.7446, allocations: 151.5 kB / 0.6623 GB, free: 13.72 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004071/0.745, allocations: 0.7271 MB / 0.663 GB, free: 12.97 MB / 490.7 MB Notification: Performance of SimCode: time 2.81e-07/0.745, allocations: 0 / 0.663 GB, free: 12.97 MB / 490.7 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothBlocks_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothBlocks.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)