Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.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.Controls.OBC.CDL.Continuous.Validation.MatrixGain,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain,fileNamePrefix="Buildings_maint_7_0_x_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.3-maint.7.0.x/package.mo): time 1.243/1.243, allocations: 249.4 MB / 256.7 MB, free: 7.074 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.001043/0.001043, allocations: 181.3 kB / 316 MB, free: 3.582 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.164/1.164, 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.0008077/0.0008077, allocations: 89.97 kB / 0.671 GB, free: 4.773 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3191/0.3199, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1535/0.4734, allocations: 106.3 MB / 0.8847 GB, free: 12.54 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4504/0.9239, allocations: 131.7 MB / 1.013 GB, free: 7.176 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002007/0.9241, allocations: 67.09 kB / 1.013 GB, free: 7.141 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.004559/0.9287, allocations: 1.596 MB / 1.015 GB, free: 5.637 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.445e-05/0.9287, allocations: 8 kB / 1.015 GB, free: 5.629 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.018e-05/0.9288, allocations: 15.25 kB / 1.015 GB, free: 5.617 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001788/0.929, allocations: 205.6 kB / 1.015 GB, free: 5.379 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.514e-06/0.929, allocations: 0 / 1.015 GB, free: 5.379 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.708e-05/0.929, allocations: 4 kB / 1.015 GB, free: 5.375 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000188/0.9292, allocations: 95.83 kB / 1.015 GB, free: 5.305 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001943/0.9294, allocations: 118.1 kB / 1.015 GB, free: 5.195 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.9294, allocations: 7.938 kB / 1.015 GB, free: 5.188 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.9294, allocations: 0 / 1.015 GB, free: 5.188 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.9295, allocations: 0 / 1.015 GB, free: 5.188 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007816/0.9302, allocations: 0.4924 MB / 1.016 GB, free: 4.691 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002085/0.9305, allocations: 125.4 kB / 1.016 GB, free: 4.57 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.761e-05/0.9305, allocations: 54.8 kB / 1.016 GB, free: 4.523 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.525e-05/0.9306, allocations: 8 kB / 1.016 GB, free: 4.516 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.804e-05/0.9306, allocations: 34.31 kB / 1.016 GB, free: 4.477 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=8): time 1.363e-06/0.9306, allocations: 0 / 1.016 GB, free: 4.477 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.0002586/0.9309, allocations: 137.3 kB / 1.016 GB, free: 4.355 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.051e-05/0.9309, allocations: 81.95 kB / 1.016 GB, free: 4.258 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.91e-05/0.931, allocations: 142.8 kB / 1.016 GB, free: 4.125 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.491e-05/0.931, allocations: 25.7 kB / 1.016 GB, free: 4.094 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.371e-05/0.9311, allocations: 102.6 kB / 1.016 GB, free: 3.996 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.958e-05/0.9311, allocations: 26.56 kB / 1.017 GB, free: 3.973 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.373e-06/0.9311, allocations: 0 / 1.017 GB, free: 3.973 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.643e-05/0.9312, allocations: 322.1 kB / 1.017 GB, free: 3.652 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.982e-05/0.9313, allocations: 41.3 kB / 1.017 GB, free: 3.625 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.65e-05/0.9313, allocations: 56.06 kB / 1.017 GB, free: 3.574 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.349e-05/0.9314, allocations: 52.22 kB / 1.017 GB, free: 3.535 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.9314, allocations: 4 kB / 1.017 GB, free: 3.531 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001779/0.9316, allocations: 134.6 kB / 1.017 GB, free: 3.414 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.9316, allocations: 8 kB / 1.017 GB, free: 3.406 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.9316, allocations: 0 / 1.017 GB, free: 3.406 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.026e-05/0.9316, allocations: 3.938 kB / 1.017 GB, free: 3.406 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002311/0.9319, allocations: 43.97 kB / 1.017 GB, free: 3.363 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.812e-06/0.9319, allocations: 0 / 1.017 GB, free: 3.363 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001526/0.9321, allocations: 43.86 kB / 1.017 GB, free: 3.32 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.14e-05/0.9321, allocations: 3.188 kB / 1.017 GB, free: 3.32 MB / 0.6355 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 6.957e-05/0.9322, allocations: 104.9 kB / 1.017 GB, free: 3.211 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.047e-05/0.9322, allocations: 11.91 kB / 1.017 GB, free: 3.199 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.037e-05/0.9323, allocations: 15.38 kB / 1.017 GB, free: 3.191 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.9323, allocations: 3.906 kB / 1.017 GB, free: 3.188 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.9323, allocations: 3.938 kB / 1.017 GB, free: 3.184 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.9323, allocations: 8 kB / 1.017 GB, free: 3.176 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002198/0.9325, allocations: 194.8 kB / 1.018 GB, free: 2.965 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.9325, allocations: 4 kB / 1.018 GB, free: 2.961 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001925/0.9327, allocations: 47.39 kB / 1.018 GB, free: 2.918 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.9327, allocations: 4 kB / 1.018 GB, free: 2.914 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.9327, allocations: 3.906 kB / 1.018 GB, free: 2.91 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.9327, allocations: 0.7031 kB / 1.018 GB, free: 2.91 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.9328, allocations: 0 / 1.018 GB, free: 2.91 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002298/0.933, allocations: 318.4 kB / 1.018 GB, free: 2.602 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000301/0.9333, allocations: 0.6849 MB / 1.019 GB, free: 1.918 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.919e-05/0.9333, allocations: 92.94 kB / 1.019 GB, free: 1.809 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.237e-05/0.9334, allocations: 0 / 1.019 GB, free: 1.809 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002167/0.9336, allocations: 35.97 kB / 1.019 GB, free: 1.773 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.69e-05/0.9336, allocations: 11.58 kB / 1.019 GB, free: 1.766 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.474e-06/0.9337, allocations: 4 kB / 1.019 GB, free: 1.762 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.215e-05/0.9337, allocations: 117.8 kB / 1.019 GB, free: 1.656 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0008068/0.9345, allocations: 16 kB / 1.019 GB, free: 1.641 MB / 0.6355 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.0001213/0.9347, allocations: 103.2 kB / 1.019 GB, free: 1.531 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001655/0.9348, allocations: 95.84 kB / 1.019 GB, free: 1.461 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.9348, allocations: 0 / 1.019 GB, free: 1.461 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.313e-05/0.9349, allocations: 61.59 kB / 1.019 GB, free: 1.414 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002096/0.9352, allocations: 10.88 kB / 1.019 GB, free: 1.406 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004367/0.9356, allocations: 185.1 kB / 1.019 GB, free: 1.215 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003077/0.9359, allocations: 0.7306 MB / 1.02 GB, free: 476 kB / 0.6355 GB Notification: Performance of SimCode: time 2.5e-07/0.9359, allocations: 0 / 1.02 GB, free: 476 kB / 0.6355 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixGain_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixGain.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe 2>&1)