Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixGain",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.1/package.mo): time 2.181/2.181, allocations: 248.6 MB / 255.9 MB, free: 340 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001619/0.001619, allocations: 182.1 kB / 315.1 MB, free: 7.723 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.234/2.234, allocations: 205.1 MB / 0.5658 GB, free: 25.43 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.001414/0.001414, allocations: 95.09 kB / 0.67 GB, free: 2.898 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 0.3037/0.3051, allocations: 112.4 MB / 0.7797 GB, free: 2.395 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6032/0.9084, allocations: 106.2 MB / 0.8835 GB, free: 77.23 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2226/1.131, allocations: 130.4 MB / 1.011 GB, free: 10.61 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002721/1.131, allocations: 75.94 kB / 1.011 GB, free: 10.53 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.008003/1.139, allocations: 1.606 MB / 1.012 GB, free: 8.879 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.443e-05/1.14, allocations: 8 kB / 1.013 GB, free: 8.871 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.788e-05/1.14, allocations: 11.81 kB / 1.013 GB, free: 8.859 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000303/1.14, allocations: 199.5 kB / 1.013 GB, free: 8.625 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/1.14, allocations: 0 / 1.013 GB, free: 8.625 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.122e-05/1.14, allocations: 7.984 kB / 1.013 GB, free: 8.617 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003811/1.14, allocations: 95.95 kB / 1.013 GB, free: 8.523 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002848/1.141, allocations: 123.2 kB / 1.013 GB, free: 8.391 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/1.141, allocations: 3.906 kB / 1.013 GB, free: 8.387 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.101e-05/1.141, allocations: 0 / 1.013 GB, free: 8.387 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/1.141, allocations: 0 / 1.013 GB, free: 8.387 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001448/1.142, allocations: 0.4897 MB / 1.013 GB, free: 7.855 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003702/1.143, allocations: 133.1 kB / 1.014 GB, free: 7.707 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001578/1.143, allocations: 57.78 kB / 1.014 GB, free: 7.645 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 2.167e-05/1.143, allocations: 3.984 kB / 1.014 GB, free: 7.641 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.057e-05/1.143, allocations: 34.56 kB / 1.014 GB, free: 7.598 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=8): time 3.357e-06/1.143, allocations: 0 / 1.014 GB, free: 7.598 MB / 0.6667 GB Notification: Performance of matching and sorting (n=8): time 0.0004691/1.143, allocations: 137.4 kB / 1.014 GB, free: 7.457 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.95e-05/1.143, allocations: 85.11 kB / 1.014 GB, free: 7.355 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001787/1.144, allocations: 145.3 kB / 1.014 GB, free: 7.203 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.314e-05/1.144, allocations: 25.7 kB / 1.014 GB, free: 7.172 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 7.54e-05/1.144, allocations: 92.08 kB / 1.014 GB, free: 7.078 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 5.895e-05/1.144, allocations: 31.55 kB / 1.014 GB, free: 7.047 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.127e-05/1.144, allocations: 0 / 1.014 GB, free: 7.047 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001823/1.144, allocations: 322.8 kB / 1.014 GB, free: 6.723 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001315/1.144, allocations: 39.98 kB / 1.014 GB, free: 6.684 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001441/1.144, allocations: 61.69 kB / 1.015 GB, free: 6.617 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000145/1.144, allocations: 47.97 kB / 1.015 GB, free: 6.57 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/1.145, allocations: 0 / 1.015 GB, free: 6.57 MB / 0.6667 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003779/1.145, allocations: 129.4 kB / 1.015 GB, free: 6.438 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/1.145, allocations: 10.81 kB / 1.015 GB, free: 6.43 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/1.145, allocations: 0 / 1.015 GB, free: 6.43 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.297e-05/1.145, allocations: 3.984 kB / 1.015 GB, free: 6.426 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00046/1.145, allocations: 43.97 kB / 1.015 GB, free: 6.383 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.922e-06/1.145, allocations: 0 / 1.015 GB, free: 6.383 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003361/1.146, allocations: 35.97 kB / 1.015 GB, free: 6.348 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.166e-05/1.146, allocations: 4 kB / 1.015 GB, free: 6.344 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 0.0001718/1.146, allocations: 108.8 kB / 1.015 GB, free: 6.23 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.24e-05/1.146, allocations: 11.91 kB / 1.015 GB, free: 6.219 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.688e-05/1.146, allocations: 24.11 kB / 1.015 GB, free: 6.195 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/1.146, allocations: 3.938 kB / 1.015 GB, free: 6.191 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/1.146, allocations: 3.906 kB / 1.015 GB, free: 6.188 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/1.146, allocations: 0 / 1.015 GB, free: 6.188 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004129/1.147, allocations: 202.1 kB / 1.015 GB, free: 5.953 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/1.147, allocations: 0 / 1.015 GB, free: 5.953 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004101/1.147, allocations: 43.97 kB / 1.015 GB, free: 5.91 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.027e-05/1.147, allocations: 4 kB / 1.015 GB, free: 5.906 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.758e-05/1.147, allocations: 0 / 1.015 GB, free: 5.906 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.626e-06/1.147, allocations: 7.891 kB / 1.015 GB, free: 5.898 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/1.147, allocations: 3.938 kB / 1.015 GB, free: 5.895 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004802/1.148, allocations: 322.9 kB / 1.015 GB, free: 5.559 MB / 0.6667 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005633/1.148, allocations: 0.6804 MB / 1.016 GB, free: 4.852 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 6.854e-05/1.148, allocations: 88.95 kB / 1.016 GB, free: 4.746 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.623e-05/1.148, allocations: 4 kB / 1.016 GB, free: 4.742 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004235/1.149, allocations: 35.95 kB / 1.016 GB, free: 4.707 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.7e-05/1.149, allocations: 8.172 kB / 1.016 GB, free: 4.699 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.928e-05/1.149, allocations: 7.906 kB / 1.016 GB, free: 4.691 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.000148/1.149, allocations: 115.3 kB / 1.016 GB, free: 4.578 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002074/1.151, allocations: 16 kB / 1.016 GB, free: 4.562 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0002354/1.152, allocations: 101.3 kB / 1.017 GB, free: 4.457 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0003872/1.152, allocations: 103.9 kB / 1.017 GB, free: 4.355 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/1.152, allocations: 0 / 1.017 GB, free: 4.355 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0001764/1.152, allocations: 59.91 kB / 1.017 GB, free: 4.297 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003811/1.153, allocations: 12 kB / 1.017 GB, free: 4.285 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007257/1.153, allocations: 184.6 kB / 1.017 GB, free: 4.078 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000484/1.154, allocations: 0.7305 MB / 1.018 GB, free: 3.324 MB / 0.6667 GB Notification: Performance of SimCode: time 1.483e-06/1.154, allocations: 0 / 1.018 GB, free: 3.324 MB / 0.6667 GB