Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,fileNamePrefix="Buildings_8_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,fileNamePrefix="Buildings_8_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck",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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.583/1.583, allocations: 289.8 MB / 297.1 MB, free: 6.598 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001067/0.001067, allocations: 172.1 kB / 366.3 MB, free: 1.957 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.197/1.197, allocations: 205.1 MB / 0.6256 GB, free: 5.812 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008684/0.0008684, allocations: 82.59 kB / 0.7395 GB, free: 39.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2271/0.228, allocations: 122.4 MB / 0.8591 GB, free: 13.28 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5394/0.7674, allocations: 116.3 MB / 0.9727 GB, free: 68.23 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1635/0.9309, allocations: 137.6 MB / 1.107 GB, free: 10.87 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002277/0.9312, allocations: 76.5 kB / 1.107 GB, free: 10.8 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.00483/0.9361, allocations: 1.379 MB / 1.108 GB, free: 9.391 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.9361, allocations: 8 kB / 1.108 GB, free: 9.383 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.626e-05/0.9362, allocations: 3.906 kB / 1.108 GB, free: 9.379 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001368/0.9363, allocations: 163.1 kB / 1.109 GB, free: 9.18 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.9363, allocations: 0 / 1.109 GB, free: 9.18 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.46e-05/0.9364, allocations: 9.5 kB / 1.109 GB, free: 9.172 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.682e-05/0.9364, allocations: 15.98 kB / 1.109 GB, free: 9.156 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.44e-05/0.9365, allocations: 45.62 kB / 1.109 GB, free: 9.105 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.034e-06/0.9365, allocations: 0 / 1.109 GB, free: 9.105 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.9365, allocations: 0 / 1.109 GB, free: 9.105 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.9366, allocations: 3.984 kB / 1.109 GB, free: 9.102 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002174/0.9368, allocations: 138.2 kB / 1.109 GB, free: 8.93 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.025e-05/0.9368, allocations: 26.56 kB / 1.109 GB, free: 8.895 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.32e-05/0.9369, allocations: 8.922 kB / 1.109 GB, free: 8.883 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.58e-05/0.9369, allocations: 11.91 kB / 1.109 GB, free: 8.871 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.349e-05/0.9369, allocations: 34.56 kB / 1.109 GB, free: 8.828 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.253e-06/0.937, allocations: 0 / 1.109 GB, free: 8.828 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0006936/0.9377, allocations: 302.2 kB / 1.109 GB, free: 8.48 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.41e-05/0.9377, allocations: 55.41 kB / 1.109 GB, free: 8.414 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.809e-05/0.9378, allocations: 100.9 kB / 1.109 GB, free: 8.309 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.148e-05/0.9378, allocations: 25.83 kB / 1.109 GB, free: 8.277 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.235e-05/0.9379, allocations: 84.14 kB / 1.109 GB, free: 8.191 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.028e-05/0.9379, allocations: 21.42 kB / 1.109 GB, free: 8.172 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.847e-06/0.9379, allocations: 0 / 1.109 GB, free: 8.172 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001208/0.938, allocations: 314.8 kB / 1.11 GB, free: 7.855 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.698e-05/0.9381, allocations: 11.98 kB / 1.11 GB, free: 7.844 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.968e-05/0.9381, allocations: 32.3 kB / 1.11 GB, free: 7.809 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.81e-05/0.9382, allocations: 23.92 kB / 1.11 GB, free: 7.785 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.32e-07/0.9382, allocations: 0 / 1.11 GB, free: 7.785 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001484/0.9384, allocations: 73.58 kB / 1.11 GB, free: 7.707 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.9384, allocations: 4 kB / 1.11 GB, free: 7.703 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.9384, allocations: 0 / 1.11 GB, free: 7.703 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.9384, allocations: 0 / 1.11 GB, free: 7.703 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.075e-05/0.9385, allocations: 11.98 kB / 1.11 GB, free: 7.691 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.9385, allocations: 0 / 1.11 GB, free: 7.691 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.619e-05/0.9385, allocations: 0 / 1.11 GB, free: 7.691 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.306e-05/0.9385, allocations: 4 kB / 1.11 GB, free: 7.688 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.194e-05/0.9386, allocations: 113 kB / 1.11 GB, free: 7.57 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.043e-05/0.9386, allocations: 3.906 kB / 1.11 GB, free: 7.566 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002147/0.9389, allocations: 87.14 kB / 1.11 GB, free: 7.465 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.9389, allocations: 1.031 kB / 1.11 GB, free: 7.465 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.9389, allocations: 4 kB / 1.11 GB, free: 7.461 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.9389, allocations: 3.984 kB / 1.11 GB, free: 7.457 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001168/0.939, allocations: 134.2 kB / 1.11 GB, free: 7.289 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.939, allocations: 3.906 kB / 1.11 GB, free: 7.285 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.145e-05/0.9391, allocations: 8 kB / 1.11 GB, free: 7.277 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.9391, allocations: 4 kB / 1.11 GB, free: 7.273 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.213e-06/0.9391, allocations: 0 / 1.11 GB, free: 7.273 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.9391, allocations: 0 / 1.11 GB, free: 7.273 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.165e-06/0.9391, allocations: 0 / 1.11 GB, free: 7.273 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002123/0.9393, allocations: 116.9 kB / 1.11 GB, free: 7.141 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003385/0.9397, allocations: 0.5105 MB / 1.111 GB, free: 6.609 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.83e-05/0.9397, allocations: 81.14 kB / 1.111 GB, free: 6.512 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.754e-05/0.9398, allocations: 0 / 1.111 GB, free: 6.512 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.239e-05/0.9398, allocations: 7.906 kB / 1.111 GB, free: 6.504 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.703e-05/0.9398, allocations: 11.92 kB / 1.111 GB, free: 6.492 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.078e-05/0.9399, allocations: 4 kB / 1.111 GB, free: 6.488 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.877e-05/0.9399, allocations: 83.27 kB / 1.111 GB, free: 6.406 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008005/0.9407, allocations: 28 kB / 1.111 GB, free: 6.379 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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.0002234/0.941, allocations: 127.2 kB / 1.111 GB, free: 6.246 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.002e-05/0.9411, allocations: 27.98 kB / 1.111 GB, free: 6.219 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.9411, allocations: 0.75 kB / 1.111 GB, free: 6.219 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.277e-05/0.9411, allocations: 16 kB / 1.111 GB, free: 6.203 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001214/0.9412, allocations: 4.5 kB / 1.111 GB, free: 6.199 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002748/0.9415, allocations: 84.06 kB / 1.111 GB, free: 6.094 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003381/0.9419, allocations: 0.7001 MB / 1.112 GB, free: 5.371 MB / 0.7136 GB Notification: Performance of SimCode: time 2.4e-07/0.9419, allocations: 8 kB / 1.112 GB, free: 5.363 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck.fmu > Buildings_8_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe 2>&1)