Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan2",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 7.0.1/package.mo): time 2.291/2.291, allocations: 248.6 MB / 255.9 MB, free: 7.109 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001619/0.001619, allocations: 188.2 kB / 315.1 MB, free: 4.266 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.815/1.815, allocations: 205.1 MB / 0.5658 GB, free: 316 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001303/0.001302, allocations: 91.33 kB / 0.67 GB, free: 5.512 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4816/0.483, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2623/0.7454, allocations: 106.3 MB / 0.8835 GB, free: 13.32 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6625/1.408, allocations: 131.5 MB / 1.012 GB, free: 8.695 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002705/1.408, allocations: 75.33 kB / 1.012 GB, free: 8.656 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.004686/1.413, allocations: 0.9936 MB / 1.013 GB, free: 7.707 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.916e-05/1.413, allocations: 8 kB / 1.013 GB, free: 7.695 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.168e-05/1.413, allocations: 9.469 kB / 1.013 GB, free: 7.688 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001546/1.413, allocations: 163.1 kB / 1.013 GB, free: 7.488 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.678e-06/1.413, allocations: 0 / 1.013 GB, free: 7.488 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.703e-05/1.413, allocations: 0 / 1.013 GB, free: 7.488 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001218/1.413, allocations: 17.75 kB / 1.013 GB, free: 7.477 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001167/1.414, allocations: 47.84 kB / 1.013 GB, free: 7.43 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/1.414, allocations: 4 kB / 1.013 GB, free: 7.426 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.568e-05/1.414, allocations: 0 / 1.013 GB, free: 7.426 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/1.414, allocations: 3.938 kB / 1.013 GB, free: 7.422 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007188/1.414, allocations: 282 kB / 1.013 GB, free: 7.121 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001039/1.414, allocations: 33.31 kB / 1.013 GB, free: 7.086 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.456e-05/1.415, allocations: 20.42 kB / 1.013 GB, free: 7.066 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.664e-05/1.415, allocations: 0 / 1.013 GB, free: 7.066 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.994e-05/1.415, allocations: 35.39 kB / 1.014 GB, free: 7.023 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.553e-06/1.415, allocations: 0 / 1.014 GB, free: 7.023 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0003477/1.415, allocations: 48.2 kB / 1.014 GB, free: 6.977 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.537e-05/1.415, allocations: 55.41 kB / 1.014 GB, free: 6.91 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001722/1.415, allocations: 107.7 kB / 1.014 GB, free: 6.805 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.921e-05/1.415, allocations: 25.7 kB / 1.014 GB, free: 6.773 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.95e-05/1.415, allocations: 87.45 kB / 1.014 GB, free: 6.688 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.669e-05/1.415, allocations: 7.844 kB / 1.014 GB, free: 6.68 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.801e-06/1.415, allocations: 3.938 kB / 1.014 GB, free: 6.676 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001287/1.416, allocations: 322.6 kB / 1.014 GB, free: 6.355 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.003e-05/1.416, allocations: 4 kB / 1.014 GB, free: 6.352 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.837e-05/1.416, allocations: 7.75 kB / 1.014 GB, free: 6.348 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.986e-05/1.416, allocations: 7.125 kB / 1.014 GB, free: 6.344 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/1.416, allocations: 0 / 1.014 GB, free: 6.344 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001469/1.416, allocations: 55.97 kB / 1.014 GB, free: 6.289 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/1.416, allocations: 8 kB / 1.014 GB, free: 6.281 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/1.416, allocations: 0.75 kB / 1.014 GB, free: 6.281 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/1.416, allocations: 0 / 1.014 GB, free: 6.281 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002704/1.416, allocations: 23.92 kB / 1.014 GB, free: 6.258 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/1.416, allocations: 320 / 1.014 GB, free: 6.258 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001785/1.416, allocations: 27.89 kB / 1.014 GB, free: 6.23 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.298e-05/1.416, allocations: 3.984 kB / 1.014 GB, free: 6.227 MB / 0.6355 GB 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 (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 prepare postOptimizeDAE: time 9.199e-05/1.417, allocations: 104.2 kB / 1.014 GB, free: 6.121 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.926e-05/1.417, allocations: 4 kB / 1.014 GB, free: 6.117 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002417/1.417, allocations: 64.84 kB / 1.014 GB, free: 6.051 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/1.417, allocations: 0 / 1.014 GB, free: 6.051 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/1.417, allocations: 0 / 1.014 GB, free: 6.051 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/1.417, allocations: 0 / 1.014 GB, free: 6.051 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002149/1.417, allocations: 152.6 kB / 1.015 GB, free: 5.871 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/1.417, allocations: 0 / 1.015 GB, free: 5.871 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002121/1.417, allocations: 23.98 kB / 1.015 GB, free: 5.848 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/1.417, allocations: 7.938 kB / 1.015 GB, free: 5.84 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/1.417, allocations: 0 / 1.015 GB, free: 5.84 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/1.417, allocations: 3.906 kB / 1.015 GB, free: 5.836 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-06/1.417, allocations: 3.984 kB / 1.015 GB, free: 5.832 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001866/1.418, allocations: 146.3 kB / 1.015 GB, free: 5.68 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002906/1.418, allocations: 0.5134 MB / 1.015 GB, free: 5.156 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.036e-05/1.418, allocations: 81.02 kB / 1.015 GB, free: 5.059 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.121e-05/1.418, allocations: 0 / 1.015 GB, free: 5.059 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002282/1.418, allocations: 29.91 kB / 1.015 GB, free: 5.035 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.562e-05/1.418, allocations: 8.031 kB / 1.015 GB, free: 5.027 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/1.418, allocations: 3.938 kB / 1.015 GB, free: 5.023 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.114e-05/1.418, allocations: 90.27 kB / 1.015 GB, free: 4.938 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001134/1.42, allocations: 7.906 kB / 1.015 GB, free: 4.93 MB / 0.6355 GB 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.000178/1.42, allocations: 99.25 kB / 1.016 GB, free: 4.824 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001503/1.42, allocations: 18.44 kB / 1.016 GB, free: 4.812 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/1.42, allocations: 4 kB / 1.016 GB, free: 4.809 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.57e-05/1.42, allocations: 11.62 kB / 1.016 GB, free: 4.801 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002855/1.42, allocations: 13.52 kB / 1.016 GB, free: 4.793 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003626/1.421, allocations: 82.91 kB / 1.016 GB, free: 4.691 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003633/1.421, allocations: 0.6954 MB / 1.016 GB, free: 3.973 MB / 0.6355 GB Notification: Performance of SimCode: time 8.32e-07/1.421, allocations: 0 / 1.016 GB, free: 3.973 MB / 0.6355 GB