Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Cryptographics.Validation.SHA1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Cryptographics.Validation.SHA1,fileNamePrefix="Buildings_9_Buildings_Utilities_Cryptographics_Validation_SHA1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Cryptographics.Validation.SHA1,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.075/2.075, allocations: 387.2 MB / 394.5 MB, free: 13.72 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 180.4 kB / 487 MB, free: 5.391 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.382/1.382, allocations: 221.3 MB / 0.7819 GB, free: 1.367 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000939/0.0009392, allocations: 113.7 kB / 0.9213 GB, free: 2.617 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.5002/0.5012, allocations: 148.4 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2295/0.7307, allocations: 142.3 MB / 1.205 GB, free: 26.16 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.625/1.356, allocations: 148.2 MB / 1.35 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000205/1.356, allocations: 71.98 kB / 1.35 GB, free: 15.89 MB / 0.8073 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.00384/1.36, allocations: 2.097 MB / 1.352 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/1.36, allocations: 10.38 kB / 1.352 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.932e-05/1.36, allocations: 7.75 kB / 1.352 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.406e-05/1.36, allocations: 179.1 kB / 1.352 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.053e-05/1.36, allocations: 0 / 1.352 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.728e-06/1.36, allocations: 2.062 kB / 1.352 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.755e-05/1.36, allocations: 14.56 kB / 1.352 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.62e-05/1.36, allocations: 47.47 kB / 1.352 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/1.36, allocations: 5.281 kB / 1.352 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.237e-06/1.36, allocations: 0 / 1.352 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/1.36, allocations: 3.906 kB / 1.352 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003526/1.361, allocations: 0.6229 MB / 1.353 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 2.526e-05/1.361, allocations: 20.52 kB / 1.353 GB, free: 14.4 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.628e-05/1.361, allocations: 6.422 kB / 1.353 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 6.472e-06/1.361, allocations: 0 / 1.353 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.335e-05/1.361, allocations: 39.06 kB / 1.353 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=1): time 8.52e-07/1.361, allocations: 0 / 1.353 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of matching and sorting (n=1): time 0.0001162/1.361, allocations: 36.97 kB / 1.353 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.668e-05/1.361, allocations: 51.41 kB / 1.353 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.228e-05/1.361, allocations: 123.7 kB / 1.353 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 6.913e-06/1.361, allocations: 27.08 kB / 1.353 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.146e-05/1.361, allocations: 87.92 kB / 1.353 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 5.27e-06/1.361, allocations: 7.344 kB / 1.353 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.376e-06/1.361, allocations: 5.25 kB / 1.353 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 4.266e-05/1.361, allocations: 313.4 kB / 1.354 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.162e-05/1.361, allocations: 15.47 kB / 1.354 GB, free: 13.72 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.684e-05/1.361, allocations: 11.62 kB / 1.354 GB, free: 13.72 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001436/1.361, allocations: 23.66 kB / 1.354 GB, free: 13.72 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/1.361, allocations: 0.8438 kB / 1.354 GB, free: 13.72 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001854/1.362, allocations: 72.31 kB / 1.354 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/1.362, allocations: 8.312 kB / 1.354 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/1.362, allocations: 0 / 1.354 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/1.362, allocations: 5.375 kB / 1.354 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.027e-05/1.362, allocations: 2.828 kB / 1.354 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.536e-06/1.362, allocations: 0 / 1.354 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.215e-05/1.362, allocations: 1.375 kB / 1.354 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.408e-06/1.362, allocations: 2.922 kB / 1.354 GB, free: 13.68 MB / 0.8073 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 4.402e-05/1.362, allocations: 110.7 kB / 1.354 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.714e-05/1.362, allocations: 7.969 kB / 1.354 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.278e-05/1.362, allocations: 6.297 kB / 1.354 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/1.362, allocations: 1.375 kB / 1.354 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/1.362, allocations: 7.906 kB / 1.354 GB, free: 13.56 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/1.362, allocations: 0 / 1.354 GB, free: 13.56 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001716/1.362, allocations: 336.2 kB / 1.354 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/1.362, allocations: 1.469 kB / 1.354 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.997e-06/1.362, allocations: 4 kB / 1.354 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/1.362, allocations: 1.375 kB / 1.354 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-06/1.362, allocations: 1.641 kB / 1.354 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.033e-06/1.362, allocations: 3.906 kB / 1.354 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/1.362, allocations: 0 / 1.354 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 4.803e-05/1.362, allocations: 73.02 kB / 1.354 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 8.587e-05/1.362, allocations: 440.8 kB / 1.355 GB, free: 12.69 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.69e-05/1.362, allocations: 90.02 kB / 1.355 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.708e-05/1.362, allocations: 6.531 kB / 1.355 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.221e-05/1.362, allocations: 0 / 1.355 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.153e-05/1.362, allocations: 3.234 kB / 1.355 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-06/1.362, allocations: 0 / 1.355 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4.052e-05/1.362, allocations: 99.52 kB / 1.355 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0007465/1.363, allocations: 14.92 kB / 1.355 GB, free: 12.51 MB / 0.8073 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.0002285/1.363, allocations: 128.6 kB / 1.355 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 7.208e-05/1.363, allocations: 24.56 kB / 1.355 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/1.363, allocations: 0 / 1.355 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 7.384e-06/1.363, allocations: 1.875 kB / 1.355 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.857e-05/1.363, allocations: 6.188 kB / 1.355 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001629/1.364, allocations: 63.06 kB / 1.355 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002474/1.364, allocations: 0.7023 MB / 1.356 GB, free: 27.63 MB / 0.823 GB Notification: Performance of SimCode: time 9.31e-07/1.364, allocations: 0 / 1.356 GB, free: 27.63 MB / 0.823 GB (rm -f Buildings_9_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe ; mkfifo Buildings_9_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe >> ../files/Buildings_9_Buildings.Utilities.Cryptographics.Validation.SHA1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Cryptographics.Validation.SHA1_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Cryptographics_Validation_SHA1_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Cryptographics_Validation_SHA1.fmu > Buildings_9_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe 2>&1)