Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold",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.3-maint.7.0.x/package.mo): time 1.216/1.216, allocations: 249.4 MB / 256.7 MB, free: 7.07 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.0009494/0.0009495, allocations: 188.3 kB / 316 MB, free: 3.594 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.142/1.142, allocations: 205.1 MB / 0.5667 GB, free: 15.64 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007682/0.0007682, allocations: 99.25 kB / 0.671 GB, free: 4.777 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3086/0.3094, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.4519, allocations: 106.3 MB / 0.8847 GB, free: 12.59 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4722/0.9242, allocations: 132 MB / 1.014 GB, free: 6.703 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00018/0.9244, allocations: 74.52 kB / 1.014 GB, free: 6.664 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.002912/0.9273, allocations: 1.01 MB / 1.015 GB, free: 5.723 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.202e-05/0.9274, allocations: 8 kB / 1.015 GB, free: 5.715 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.933e-05/0.9274, allocations: 3.906 kB / 1.015 GB, free: 5.711 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001163/0.9275, allocations: 167.1 kB / 1.015 GB, free: 5.508 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.9275, allocations: 7.984 kB / 1.015 GB, free: 5.5 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.318e-06/0.9276, allocations: 4 kB / 1.015 GB, free: 5.496 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.521e-05/0.9276, allocations: 32.28 kB / 1.015 GB, free: 5.477 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.667e-05/0.9277, allocations: 48.8 kB / 1.015 GB, free: 5.426 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.9277, allocations: 0 / 1.015 GB, free: 5.426 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.756e-06/0.9278, allocations: 0 / 1.015 GB, free: 5.426 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.9278, allocations: 4.844 kB / 1.015 GB, free: 5.422 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003386/0.9281, allocations: 259.6 kB / 1.015 GB, free: 5.148 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.991e-05/0.9282, allocations: 48.58 kB / 1.015 GB, free: 5.102 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.478e-05/0.9282, allocations: 23.77 kB / 1.015 GB, free: 5.082 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.37e-05/0.9283, allocations: 0 / 1.015 GB, free: 5.082 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.804e-05/0.9283, allocations: 34.5 kB / 1.015 GB, free: 5.039 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 8.32e-07/0.9283, allocations: 0 / 1.015 GB, free: 5.039 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0001595/0.9285, allocations: 60.31 kB / 1.015 GB, free: 4.98 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.355e-05/0.9285, allocations: 55.41 kB / 1.015 GB, free: 4.914 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.147e-05/0.9286, allocations: 104.5 kB / 1.015 GB, free: 4.812 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.129e-05/0.9286, allocations: 25.7 kB / 1.015 GB, free: 4.781 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.094e-05/0.9286, allocations: 88.12 kB / 1.016 GB, free: 4.691 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.506e-05/0.9286, allocations: 7.812 kB / 1.016 GB, free: 4.684 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.869e-06/0.9286, allocations: 0 / 1.016 GB, free: 4.684 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.9287, allocations: 314 kB / 1.016 GB, free: 4.371 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.642e-05/0.9288, allocations: 11.5 kB / 1.016 GB, free: 4.363 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.145e-05/0.9288, allocations: 11.48 kB / 1.016 GB, free: 4.355 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.409e-05/0.9288, allocations: 15.38 kB / 1.016 GB, free: 4.344 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.9288, allocations: 0 / 1.016 GB, free: 4.344 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.346e-05/0.9289, allocations: 62.84 kB / 1.016 GB, free: 4.285 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.081e-05/0.929, allocations: 4 kB / 1.016 GB, free: 4.281 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.456e-06/0.929, allocations: 4.312 kB / 1.016 GB, free: 4.277 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.796e-06/0.929, allocations: 0 / 1.016 GB, free: 4.277 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001241/0.9291, allocations: 11.98 kB / 1.016 GB, free: 4.266 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.89e-06/0.9291, allocations: 8 kB / 1.016 GB, free: 4.258 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.726e-05/0.9292, allocations: 11.98 kB / 1.016 GB, free: 4.246 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.9292, allocations: 3.984 kB / 1.016 GB, free: 4.242 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 (intGreThr.u,intGreThr.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 7.03e-05/0.9293, allocations: 104.9 kB / 1.016 GB, free: 4.133 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.063e-05/0.9293, allocations: 11.89 kB / 1.016 GB, free: 4.121 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.299e-05/0.9294, allocations: 7.625 kB / 1.016 GB, free: 4.113 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-06/0.9294, allocations: 4 kB / 1.016 GB, free: 4.109 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.9294, allocations: 0 / 1.016 GB, free: 4.109 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.9294, allocations: 3.938 kB / 1.016 GB, free: 4.105 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001275/0.9295, allocations: 157.4 kB / 1.016 GB, free: 3.922 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.9295, allocations: 0 / 1.016 GB, free: 3.922 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.577e-05/0.9296, allocations: 11.98 kB / 1.016 GB, free: 3.91 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.9297, allocations: 7.984 kB / 1.016 GB, free: 3.902 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.9297, allocations: 3.938 kB / 1.016 GB, free: 3.898 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.9297, allocations: 4.875 kB / 1.016 GB, free: 3.895 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.9297, allocations: 0 / 1.016 GB, free: 3.895 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001227/0.9298, allocations: 153.8 kB / 1.016 GB, free: 3.738 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000197/0.93, allocations: 0.5245 MB / 1.017 GB, free: 3.207 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.469e-05/0.9301, allocations: 81.02 kB / 1.017 GB, free: 3.109 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.556e-05/0.9301, allocations: 4 kB / 1.017 GB, free: 3.105 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000119/0.9302, allocations: 15.98 kB / 1.017 GB, free: 3.09 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.209e-05/0.9303, allocations: 11.86 kB / 1.017 GB, free: 3.082 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.152e-06/0.9303, allocations: 0 / 1.017 GB, free: 3.082 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.317e-05/0.9303, allocations: 90.84 kB / 1.017 GB, free: 2.996 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007553/0.9311, allocations: 11.98 kB / 1.017 GB, free: 2.984 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 (intGreThr.u,intGreThr.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.0001637/0.9312, allocations: 107.2 kB / 1.017 GB, free: 2.871 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001059/0.9314, allocations: 30.23 kB / 1.017 GB, free: 2.852 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.9314, allocations: 3.938 kB / 1.017 GB, free: 2.848 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.156e-05/0.9314, allocations: 15.27 kB / 1.017 GB, free: 2.836 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002034/0.9316, allocations: 8.469 kB / 1.017 GB, free: 2.828 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003056/0.9319, allocations: 83 kB / 1.017 GB, free: 2.73 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003384/0.9323, allocations: 0.7024 MB / 1.018 GB, free: 2.008 MB / 0.6355 GB Notification: Performance of SimCode: time 2.21e-07/0.9323, allocations: 0 / 1.018 GB, free: 2.008 MB / 0.6355 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1)