Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.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.Integers.Validation.LessThreshold,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold",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.178/2.178, allocations: 248.6 MB / 255.9 MB, free: 7.16 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.002294/0.002294, allocations: 187.6 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.913/1.913, allocations: 205.1 MB / 0.5658 GB, free: 352 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.001468/0.001468, allocations: 91.12 kB / 0.67 GB, free: 5.551 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5334/0.5349, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2162/0.7511, allocations: 106.3 MB / 0.8835 GB, free: 13.31 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6972/1.448, allocations: 131.7 MB / 1.012 GB, free: 8.363 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002646/1.449, allocations: 60.28 kB / 1.012 GB, free: 8.332 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.004898/1.454, allocations: 1.017 MB / 1.013 GB, free: 7.387 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/1.454, allocations: 8 kB / 1.013 GB, free: 7.379 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.759e-05/1.454, allocations: 7.906 kB / 1.013 GB, free: 7.371 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001797/1.454, allocations: 167.1 kB / 1.013 GB, free: 7.168 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/1.454, allocations: 0 / 1.013 GB, free: 7.168 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.522e-05/1.454, allocations: 4 kB / 1.013 GB, free: 7.164 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001253/1.454, allocations: 29.98 kB / 1.013 GB, free: 7.145 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001424/1.454, allocations: 54.06 kB / 1.013 GB, free: 7.09 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/1.454, allocations: 0 / 1.013 GB, free: 7.09 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/1.454, allocations: 0 / 1.013 GB, free: 7.09 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.146e-06/1.454, allocations: 0 / 1.013 GB, free: 7.09 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005395/1.455, allocations: 271.4 kB / 1.014 GB, free: 6.805 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000143/1.455, allocations: 45.19 kB / 1.014 GB, free: 6.762 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.575e-05/1.455, allocations: 23.64 kB / 1.014 GB, free: 6.742 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.985e-05/1.455, allocations: 0 / 1.014 GB, free: 6.742 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.705e-05/1.455, allocations: 30.56 kB / 1.014 GB, free: 6.703 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.373e-06/1.455, allocations: 4 kB / 1.014 GB, free: 6.699 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0002683/1.456, allocations: 60.34 kB / 1.014 GB, free: 6.641 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.539e-05/1.456, allocations: 55.41 kB / 1.014 GB, free: 6.574 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001542/1.456, allocations: 100.9 kB / 1.014 GB, free: 6.473 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.952e-05/1.456, allocations: 25.7 kB / 1.014 GB, free: 6.441 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.219e-05/1.456, allocations: 87.75 kB / 1.014 GB, free: 6.355 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.762e-05/1.456, allocations: 11.81 kB / 1.014 GB, free: 6.344 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.344e-06/1.456, allocations: 0 / 1.014 GB, free: 6.344 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001317/1.456, allocations: 314 kB / 1.014 GB, free: 6.031 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.688e-05/1.456, allocations: 10.92 kB / 1.014 GB, free: 6.023 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.47e-05/1.456, allocations: 14.06 kB / 1.014 GB, free: 6.016 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.029e-05/1.456, allocations: 12.25 kB / 1.014 GB, free: 6.008 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/1.456, allocations: 0 / 1.014 GB, free: 6.008 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001699/1.456, allocations: 56.12 kB / 1.015 GB, free: 5.953 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/1.456, allocations: 7.906 kB / 1.015 GB, free: 5.945 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/1.456, allocations: 3.562 kB / 1.015 GB, free: 5.945 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/1.456, allocations: 3.938 kB / 1.015 GB, free: 5.941 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002363/1.457, allocations: 15.98 kB / 1.015 GB, free: 5.926 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/1.457, allocations: 4 kB / 1.015 GB, free: 5.922 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000156/1.457, allocations: 15.92 kB / 1.015 GB, free: 5.906 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.206e-05/1.457, allocations: 0 / 1.015 GB, free: 5.906 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: 2 (intLesThr.u,intLesThr.y) * 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 0.0001035/1.457, allocations: 112.9 kB / 1.015 GB, free: 5.789 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.393e-05/1.457, allocations: 3.906 kB / 1.015 GB, free: 5.785 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.825e-05/1.457, allocations: 11.81 kB / 1.015 GB, free: 5.773 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/1.457, allocations: 8 kB / 1.015 GB, free: 5.766 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/1.457, allocations: 0 / 1.015 GB, free: 5.766 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/1.457, allocations: 0 / 1.015 GB, free: 5.766 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002264/1.457, allocations: 153.8 kB / 1.015 GB, free: 5.586 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/1.457, allocations: 3.984 kB / 1.015 GB, free: 5.582 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001708/1.458, allocations: 15.98 kB / 1.015 GB, free: 5.566 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/1.458, allocations: 0 / 1.015 GB, free: 5.566 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/1.458, allocations: 0 / 1.015 GB, free: 5.566 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/1.458, allocations: 4 kB / 1.015 GB, free: 5.562 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/1.458, allocations: 0 / 1.015 GB, free: 5.562 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002329/1.458, allocations: 157.8 kB / 1.015 GB, free: 5.402 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003308/1.458, allocations: 0.5246 MB / 1.016 GB, free: 4.871 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.197e-05/1.458, allocations: 77.39 kB / 1.016 GB, free: 4.777 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.627e-05/1.458, allocations: 7.906 kB / 1.016 GB, free: 4.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002029/1.459, allocations: 15.98 kB / 1.016 GB, free: 4.754 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.798e-05/1.459, allocations: 10.78 kB / 1.016 GB, free: 4.746 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.03e-05/1.459, allocations: 4 kB / 1.016 GB, free: 4.742 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.000112/1.459, allocations: 87.2 kB / 1.016 GB, free: 4.66 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001182/1.46, allocations: 8 kB / 1.016 GB, free: 4.652 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: 2 (intLesThr.u,intLesThr.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0002451/1.46, allocations: 112.1 kB / 1.016 GB, free: 4.535 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001846/1.46, allocations: 27.55 kB / 1.016 GB, free: 4.516 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/1.46, allocations: 0 / 1.016 GB, free: 4.516 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.57e-05/1.461, allocations: 19.19 kB / 1.016 GB, free: 4.504 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000282/1.461, allocations: 5.891 kB / 1.016 GB, free: 4.5 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004105/1.461, allocations: 90.27 kB / 1.016 GB, free: 4.395 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003659/1.462, allocations: 0.7032 MB / 1.017 GB, free: 3.668 MB / 0.6355 GB Notification: Performance of SimCode: time 1.292e-06/1.462, allocations: 0 / 1.017 GB, free: 3.668 MB / 0.6355 GB