Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Cryptographics.Validation.SHA1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Cryptographics.Validation.SHA1,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Cryptographics_Validation_SHA1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Cryptographics.Validation.SHA1,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 3.177/3.177, allocations: 284.8 MB / 292.1 MB, free: 10.84 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.002022/0.002022, allocations: 177.3 kB / 360.3 MB, free: 7.578 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.925/1.925, allocations: 205.1 MB / 0.6187 GB, free: 13.25 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.001255/0.001255, allocations: 92.92 kB / 0.7317 GB, free: 45.14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2763/0.2776, allocations: 121.4 MB / 0.8502 GB, free: 3.973 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6024/0.88, allocations: 115.2 MB / 0.9627 GB, free: 78.6 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2361/1.116, allocations: 136.8 MB / 1.096 GB, free: 4.16 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002859/1.117, allocations: 76.38 kB / 1.096 GB, free: 4.09 MB / 0.698 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.006866/1.123, allocations: 2.09 MB / 1.098 GB, free: 2.008 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.18e-05/1.124, allocations: 12 kB / 1.098 GB, free: 1.996 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.944e-05/1.124, allocations: 1.703 kB / 1.098 GB, free: 1.996 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001481/1.124, allocations: 170.9 kB / 1.099 GB, free: 1.789 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/1.124, allocations: 0 / 1.099 GB, free: 1.789 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.647e-05/1.124, allocations: 4 kB / 1.099 GB, free: 1.785 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001037/1.124, allocations: 17.33 kB / 1.099 GB, free: 1.77 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001091/1.124, allocations: 44.25 kB / 1.099 GB, free: 1.723 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.687e-06/1.124, allocations: 0 / 1.099 GB, free: 1.723 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.536e-05/1.124, allocations: 11.56 kB / 1.099 GB, free: 1.715 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/1.124, allocations: 0 / 1.099 GB, free: 1.715 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006445/1.125, allocations: 0.6259 MB / 1.099 GB, free: 0.9609 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.404e-05/1.125, allocations: 27.16 kB / 1.099 GB, free: 0.9258 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.541e-05/1.125, allocations: 8.859 kB / 1.099 GB, free: 0.9141 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.144e-06/1.125, allocations: 0 / 1.099 GB, free: 0.9141 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.904e-05/1.125, allocations: 33.75 kB / 1.099 GB, free: 0.875 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 1.703e-06/1.125, allocations: 4.062 kB / 1.099 GB, free: 0.8711 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0001513/1.125, allocations: 33.61 kB / 1.099 GB, free: 0.832 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.646e-05/1.125, allocations: 55.39 kB / 1.099 GB, free: 0.7656 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002258/1.125, allocations: 127.3 kB / 1.1 GB, free: 0.6406 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.394e-05/1.125, allocations: 25.7 kB / 1.1 GB, free: 0.6094 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.663e-05/1.125, allocations: 91.86 kB / 1.1 GB, free: 0.5195 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.035e-06/1.125, allocations: 3.906 kB / 1.1 GB, free: 0.5156 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.082e-06/1.126, allocations: 3.938 kB / 1.1 GB, free: 0.5117 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001208/1.126, allocations: 318.8 kB / 1.1 GB, free: 196 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.493e-05/1.126, allocations: 12 kB / 1.1 GB, free: 184 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.925e-05/1.126, allocations: 4 kB / 1.1 GB, free: 180 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002228/1.126, allocations: 23.97 kB / 1.1 GB, free: 156 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/1.126, allocations: 3.938 kB / 1.1 GB, free: 152 kB / 0.698 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003079/1.126, allocations: 70.08 kB / 1.1 GB, free: 76 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/1.126, allocations: 12.5 kB / 1.1 GB, free: 68 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/1.126, allocations: 0 / 1.1 GB, free: 68 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/1.126, allocations: 0 / 1.1 GB, free: 68 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.262e-05/1.126, allocations: 5.359 kB / 1.1 GB, free: 64 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.124e-05/1.126, allocations: 4 kB / 1.1 GB, free: 60 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.974e-05/1.126, allocations: 0 / 1.1 GB, free: 60 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.179e-05/1.126, allocations: 0 / 1.1 GB, free: 60 kB / 0.698 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 9.617e-05/1.127, allocations: 108.9 kB / 1.1 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.863e-05/1.127, allocations: 8.719 kB / 1.1 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.407e-05/1.127, allocations: 7.469 kB / 1.1 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/1.127, allocations: 4.484 kB / 1.1 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/1.127, allocations: 3.906 kB / 1.1 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/1.127, allocations: 1.312 kB / 1.1 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003295/1.127, allocations: 331.8 kB / 1.101 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/1.127, allocations: 2.125 kB / 1.101 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.57e-06/1.127, allocations: 0 / 1.101 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/1.127, allocations: 1.25 kB / 1.101 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/1.127, allocations: 3.906 kB / 1.101 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/1.127, allocations: 3.984 kB / 1.101 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/1.127, allocations: 0.7812 kB / 1.101 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.119e-05/1.127, allocations: 66.52 kB / 1.101 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002086/1.127, allocations: 443.3 kB / 1.101 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.825e-05/1.128, allocations: 89 kB / 1.101 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.077e-05/1.128, allocations: 0.75 kB / 1.101 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.278e-05/1.128, allocations: 1.438 kB / 1.101 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.892e-05/1.128, allocations: 4.531 kB / 1.101 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-06/1.128, allocations: 4.125 kB / 1.101 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of sort global known variables: time 8.472e-05/1.128, allocations: 101.4 kB / 1.101 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001115/1.129, allocations: 16 kB / 1.101 GB, free: 14.78 MB / 0.7136 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.0003881/1.129, allocations: 128.2 kB / 1.101 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001205/1.129, allocations: 19.98 kB / 1.101 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/1.129, allocations: 4 kB / 1.101 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.543e-05/1.129, allocations: 8 kB / 1.101 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001312/1.13, allocations: 3.906 kB / 1.101 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002585/1.13, allocations: 65.73 kB / 1.101 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003863/1.13, allocations: 0.7035 MB / 1.102 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of SimCode: time 8.71e-07/1.13, allocations: 0 / 1.102 GB, free: 13.81 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Cryptographics.Validation.SHA1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Cryptographics_Validation_SHA1_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Cryptographics_Validation_SHA1.fmu > Buildings_8.0.0_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe 2>&1)