Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Cryptographics.Validation.SHA1,fileNamePrefix="Buildings_latest_Buildings_Utilities_Cryptographics_Validation_SHA1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Cryptographics.Validation.SHA1,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 1.81/1.81, allocations: 390.4 MB / 397.7 MB, free: 10.68 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 187.3 kB / 490.8 MB, free: 11.21 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.158/1.158, allocations: 221.4 MB / 0.7863 GB, free: 13.59 MB / 0.5886 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008673/0.0008674, allocations: 92.72 kB / 0.9264 GB, free: 4.547 MB / 0.6667 GB Notification: Performance of FrontEnd - loaded program: time 0.2482/0.2491, allocations: 149.1 MB / 1.072 GB, free: 15.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.562/0.8111, allocations: 143 MB / 1.212 GB, free: 156 MB / 0.8855 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1468/0.958, allocations: 149 MB / 1.357 GB, free: 42.62 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00019/0.9582, allocations: 68.81 kB / 1.357 GB, free: 42.56 MB / 0.8855 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.003652/0.9619, allocations: 2.106 MB / 1.359 GB, free: 40.45 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.9619, allocations: 12.69 kB / 1.359 GB, free: 40.43 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.54e-05/0.962, allocations: 7.906 kB / 1.359 GB, free: 40.43 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.673e-05/0.9621, allocations: 163.6 kB / 1.359 GB, free: 40.23 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.9621, allocations: 4 kB / 1.359 GB, free: 40.22 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.998e-06/0.9621, allocations: 1.812 kB / 1.359 GB, free: 40.22 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.538e-05/0.9622, allocations: 19.98 kB / 1.359 GB, free: 40.2 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.87e-05/0.9623, allocations: 45.62 kB / 1.36 GB, free: 40.15 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.9623, allocations: 3.938 kB / 1.36 GB, free: 40.15 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.9623, allocations: 0.6875 kB / 1.36 GB, free: 40.15 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.9623, allocations: 0 / 1.36 GB, free: 40.15 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003717/0.9627, allocations: 0.6254 MB / 1.36 GB, free: 39.39 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 3.007e-05/0.9628, allocations: 18.98 kB / 1.36 GB, free: 39.37 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.745e-05/0.9628, allocations: 10.11 kB / 1.36 GB, free: 39.36 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 6.362e-06/0.9628, allocations: 0 / 1.36 GB, free: 39.36 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.842e-05/0.9628, allocations: 33.78 kB / 1.36 GB, free: 39.32 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=1): time 1.833e-06/0.9628, allocations: 0.5938 kB / 1.36 GB, free: 39.32 MB / 0.8855 GB Notification: Performance of matching and sorting (n=1): time 0.0001268/0.963, allocations: 39.48 kB / 1.36 GB, free: 39.27 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.755e-05/0.963, allocations: 59.3 kB / 1.36 GB, free: 39.2 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.167e-05/0.9631, allocations: 120.2 kB / 1.36 GB, free: 39.08 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 6.753e-06/0.9631, allocations: 25.7 kB / 1.36 GB, free: 39.05 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 2.37e-05/0.9631, allocations: 93.14 kB / 1.361 GB, free: 38.96 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.679e-06/0.9631, allocations: 0 / 1.361 GB, free: 38.96 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.358e-06/0.9631, allocations: 3.562 kB / 1.361 GB, free: 38.96 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 4.504e-05/0.9632, allocations: 327.7 kB / 1.361 GB, free: 38.63 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.203e-05/0.9632, allocations: 9.031 kB / 1.361 GB, free: 38.62 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.805e-05/0.9632, allocations: 4 kB / 1.361 GB, free: 38.62 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001579/0.9634, allocations: 27.97 kB / 1.361 GB, free: 38.59 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.9634, allocations: 0.6562 kB / 1.361 GB, free: 38.59 MB / 0.8855 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002095/0.9636, allocations: 73.52 kB / 1.361 GB, free: 38.51 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.9637, allocations: 4.562 kB / 1.361 GB, free: 38.51 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.9637, allocations: 0.6875 kB / 1.361 GB, free: 38.51 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.9637, allocations: 3.984 kB / 1.361 GB, free: 38.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.371e-05/0.9637, allocations: 4.656 kB / 1.361 GB, free: 38.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.9637, allocations: 0 / 1.361 GB, free: 38.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.786e-05/0.9638, allocations: 0.8125 kB / 1.361 GB, free: 38.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.147e-05/0.9638, allocations: 4 kB / 1.361 GB, free: 38.5 MB / 0.8855 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.097e-05/0.9638, allocations: 102.2 kB / 1.361 GB, free: 38.39 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.279e-05/0.9639, allocations: 7.906 kB / 1.361 GB, free: 38.38 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.6e-05/0.9639, allocations: 12.08 kB / 1.361 GB, free: 38.38 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.9639, allocations: 0.75 kB / 1.361 GB, free: 38.38 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.9639, allocations: 0 / 1.361 GB, free: 38.38 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.9639, allocations: 1.938 kB / 1.361 GB, free: 38.38 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001973/0.9641, allocations: 348.1 kB / 1.361 GB, free: 37.99 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.9642, allocations: 0.6562 kB / 1.361 GB, free: 37.99 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.338e-06/0.9642, allocations: 0 / 1.361 GB, free: 37.99 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.9642, allocations: 5.031 kB / 1.361 GB, free: 37.98 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.164e-06/0.9642, allocations: 3.984 kB / 1.361 GB, free: 37.98 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.9642, allocations: 5.078 kB / 1.361 GB, free: 37.98 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.9642, allocations: 0 / 1.361 GB, free: 37.98 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 5.669e-05/0.9643, allocations: 62.73 kB / 1.361 GB, free: 37.9 MB / 0.8855 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 9.711e-05/0.9644, allocations: 446.9 kB / 1.362 GB, free: 37.44 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 2.551e-05/0.9644, allocations: 86.97 kB / 1.362 GB, free: 37.34 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.695e-05/0.9644, allocations: 8.5 kB / 1.362 GB, free: 37.33 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.647e-05/0.9645, allocations: 0.9688 kB / 1.362 GB, free: 37.33 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.315e-05/0.9645, allocations: 0 / 1.362 GB, free: 37.33 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.535e-06/0.9645, allocations: 0 / 1.362 GB, free: 37.33 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.078e-05/0.9645, allocations: 103.8 kB / 1.362 GB, free: 37.23 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0008967/0.9655, allocations: 13.34 kB / 1.362 GB, free: 37.22 MB / 0.8855 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.0002418/0.9657, allocations: 118.8 kB / 1.362 GB, free: 37.11 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 7.596e-05/0.9658, allocations: 20 kB / 1.362 GB, free: 37.09 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.9658, allocations: 0 / 1.362 GB, free: 37.09 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 7.945e-06/0.9658, allocations: 3.938 kB / 1.362 GB, free: 37.09 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001062/0.9659, allocations: 14.92 kB / 1.362 GB, free: 37.08 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001761/0.9661, allocations: 64.52 kB / 1.362 GB, free: 36.99 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001261/0.9662, allocations: 0.6966 MB / 1.363 GB, free: 36.27 MB / 0.8855 GB Notification: Performance of SimCode: time 2.8e-07/0.9663, allocations: 0.7188 kB / 1.363 GB, free: 36.27 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Cryptographics_Validation_SHA1_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Cryptographics_Validation_SHA1.fmu > Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe 2>&1)