Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Cryptographics.Validation.SHA1.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.Utilities.Cryptographics.Validation.SHA1,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Cryptographics_Validation_SHA1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Cryptographics.Validation.SHA1,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Cryptographics_Validation_SHA1",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.23/1.23, allocations: 249.4 MB / 256.7 MB, free: 7.02 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.001029/0.001029, allocations: 177.3 kB / 316 MB, free: 3.59 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.17/1.17, allocations: 205.2 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.0008605/0.0008606, allocations: 81.11 kB / 0.671 GB, free: 4.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3647/0.3656, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1784/0.5441, allocations: 106.3 MB / 0.8847 GB, free: 12.56 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5585/1.103, allocations: 131.7 MB / 1.013 GB, free: 6.867 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002283/1.103, allocations: 77.56 kB / 1.013 GB, free: 6.824 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.003955/1.107, allocations: 2.097 MB / 1.015 GB, free: 5.172 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/1.107, allocations: 12 kB / 1.015 GB, free: 5.16 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.499e-05/1.107, allocations: 7.094 kB / 1.015 GB, free: 5.156 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001317/1.107, allocations: 171 kB / 1.016 GB, free: 4.949 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/1.107, allocations: 0 / 1.016 GB, free: 4.949 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.623e-05/1.107, allocations: 8.734 kB / 1.016 GB, free: 4.941 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.971e-05/1.107, allocations: 18.06 kB / 1.016 GB, free: 4.93 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.121e-05/1.107, allocations: 45.05 kB / 1.016 GB, free: 4.883 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/1.107, allocations: 4 kB / 1.016 GB, free: 4.879 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/1.107, allocations: 0 / 1.016 GB, free: 4.879 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/1.107, allocations: 4 kB / 1.016 GB, free: 4.875 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005367/1.108, allocations: 0.6214 MB / 1.016 GB, free: 4.137 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 3.512e-05/1.108, allocations: 18.58 kB / 1.016 GB, free: 4.109 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.276e-05/1.108, allocations: 8.797 kB / 1.016 GB, free: 4.098 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 7.264e-06/1.108, allocations: 2.625 kB / 1.016 GB, free: 4.098 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.791e-05/1.108, allocations: 38.56 kB / 1.016 GB, free: 4.051 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/1.108, allocations: 4 kB / 1.016 GB, free: 4.047 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.000134/1.108, allocations: 33.61 kB / 1.016 GB, free: 4.008 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.241e-05/1.108, allocations: 51.41 kB / 1.016 GB, free: 3.945 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001107/1.108, allocations: 127.2 kB / 1.017 GB, free: 3.824 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.646e-05/1.108, allocations: 25.7 kB / 1.017 GB, free: 3.793 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.062e-05/1.108, allocations: 91.3 kB / 1.017 GB, free: 3.703 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.879e-06/1.108, allocations: 3.812 kB / 1.017 GB, free: 3.703 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.809e-06/1.108, allocations: 0 / 1.017 GB, free: 3.703 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.00011/1.109, allocations: 321.4 kB / 1.017 GB, free: 3.383 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.13e-05/1.109, allocations: 11.31 kB / 1.017 GB, free: 3.375 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.528e-05/1.109, allocations: 7.375 kB / 1.017 GB, free: 3.371 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001535/1.109, allocations: 19.97 kB / 1.017 GB, free: 3.352 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/1.109, allocations: 0 / 1.017 GB, free: 3.352 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001809/1.109, allocations: 80.52 kB / 1.017 GB, free: 3.273 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.488e-06/1.109, allocations: 4 kB / 1.017 GB, free: 3.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/1.109, allocations: 0 / 1.017 GB, free: 3.27 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/1.109, allocations: 0 / 1.017 GB, free: 3.27 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.372e-05/1.109, allocations: 7.984 kB / 1.017 GB, free: 3.262 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/1.109, allocations: 7.906 kB / 1.017 GB, free: 3.254 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.268e-05/1.109, allocations: 0.875 kB / 1.017 GB, free: 3.254 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.604e-06/1.109, allocations: 0 / 1.017 GB, free: 3.254 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: 6 (cmpAll,cmp1,cmp2,cmp3,cmp4,cmp5) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 5.984e-05/1.109, allocations: 105 kB / 1.017 GB, free: 3.145 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.531e-05/1.109, allocations: 7.844 kB / 1.017 GB, free: 3.137 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.672e-05/1.109, allocations: 14.8 kB / 1.017 GB, free: 3.125 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/1.109, allocations: 0 / 1.017 GB, free: 3.125 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/1.109, allocations: 0 / 1.017 GB, free: 3.125 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/1.109, allocations: 4.172 kB / 1.017 GB, free: 3.121 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000199/1.109, allocations: 346.1 kB / 1.018 GB, free: 2.742 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/1.109, allocations: 0 / 1.018 GB, free: 2.742 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.286e-06/1.109, allocations: 0 / 1.018 GB, free: 2.742 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/1.109, allocations: 0 / 1.018 GB, free: 2.742 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.979e-06/1.109, allocations: 0 / 1.018 GB, free: 2.742 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.41e-07/1.109, allocations: 0 / 1.018 GB, free: 2.742 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/1.109, allocations: 0 / 1.018 GB, free: 2.742 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 5.539e-05/1.11, allocations: 68.94 kB / 1.018 GB, free: 2.66 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001371/1.11, allocations: 445.2 kB / 1.018 GB, free: 2.207 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.73e-05/1.11, allocations: 85 kB / 1.018 GB, free: 2.105 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.366e-05/1.11, allocations: 0 / 1.018 GB, free: 2.105 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.418e-05/1.11, allocations: 3.984 kB / 1.018 GB, free: 2.102 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.088e-05/1.11, allocations: 12 kB / 1.018 GB, free: 2.09 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.456e-06/1.11, allocations: 3.906 kB / 1.018 GB, free: 2.086 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.373e-05/1.11, allocations: 105.2 kB / 1.018 GB, free: 1.996 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007307/1.111, allocations: 12 kB / 1.018 GB, free: 1.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: 1 (cmpAll) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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.0002346/1.111, allocations: 119.1 kB / 1.018 GB, free: 1.867 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.39e-05/1.111, allocations: 23.48 kB / 1.018 GB, free: 1.848 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/1.111, allocations: 3.938 kB / 1.018 GB, free: 1.844 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.35e-06/1.111, allocations: 4 kB / 1.018 GB, free: 1.84 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.68e-05/1.111, allocations: 3.25 kB / 1.018 GB, free: 1.84 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000165/1.111, allocations: 67.64 kB / 1.018 GB, free: 1.75 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002584/1.111, allocations: 0.6991 MB / 1.019 GB, free: 1.027 MB / 0.6355 GB Notification: Performance of SimCode: time 2.6e-07/1.111, allocations: 0 / 1.019 GB, free: 1.027 MB / 0.6355 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Cryptographics.Validation.SHA1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Cryptographics_Validation_SHA1_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Cryptographics_Validation_SHA1.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe 2>&1)