Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.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.Plotters.Validation.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.55/2.55, allocations: 287.3 MB / 302.3 MB, free: 8.355 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.001665/0.001665, allocations: 166.7 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.274/2.274, allocations: 205.4 MB / 0.6295 GB, free: 10.62 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001112/0.001112, allocations: 102.8 kB / 0.7428 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004907/0.0004908, allocations: 16.75 kB / 0.8657 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2167/0.2173, allocations: 115.3 MB / 0.9783 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9501/1.167, allocations: 141.8 MB / 1.117 GB, free: 15.3 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002807/1.168, allocations: 93.73 kB / 1.117 GB, free: 15.3 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03625/1.204, allocations: 8.471 MB / 1.125 GB, free: 30.55 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.014e-06/1.204, allocations: 0 / 1.125 GB, free: 30.55 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.363e-05/1.204, allocations: 11.97 kB / 1.125 GB, free: 30.54 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001247/1.205, allocations: 0.5455 MB / 1.126 GB, free: 30.06 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.225e-05/1.205, allocations: 11.62 kB / 1.126 GB, free: 30.06 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.65e-05/1.206, allocations: 40.06 kB / 1.126 GB, free: 30.02 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001599/1.206, allocations: 23.34 kB / 1.126 GB, free: 30.01 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007321/1.206, allocations: 261.6 kB / 1.126 GB, free: 29.79 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.302e-05/1.206, allocations: 11.03 kB / 1.126 GB, free: 29.79 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.779e-05/1.207, allocations: 17.05 kB / 1.126 GB, free: 29.79 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000263/1.207, allocations: 95.05 kB / 1.126 GB, free: 29.75 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/1.207, allocations: 3.875 kB / 1.126 GB, free: 29.75 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.873e-05/1.207, allocations: 0 / 1.126 GB, free: 29.75 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/1.207, allocations: 3.938 kB / 1.126 GB, free: 29.75 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001591/1.207, allocations: 51.61 kB / 1.126 GB, free: 29.75 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001185/1.208, allocations: 474.5 kB / 1.127 GB, free: 29.47 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006724/1.209, allocations: 150.8 kB / 1.127 GB, free: 29.44 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.254e-05/1.209, allocations: 4.109 kB / 1.127 GB, free: 29.44 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002584/1.209, allocations: 113.1 kB / 1.127 GB, free: 29.38 MB / 0.698 GB Notification: Performance of pre-optimization done (n=16): time 3.056e-06/1.209, allocations: 0 / 1.127 GB, free: 29.38 MB / 0.698 GB Notification: Performance of matching and sorting (n=16): time 0.0005411/1.21, allocations: 159.6 kB / 1.127 GB, free: 29.34 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.685e-05/1.21, allocations: 61.66 kB / 1.127 GB, free: 29.27 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002399/1.21, allocations: 184.6 kB / 1.127 GB, free: 29.16 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.48e-05/1.21, allocations: 32.7 kB / 1.127 GB, free: 29.13 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001086/1.21, allocations: 125.5 kB / 1.127 GB, free: 29.04 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.304e-05/1.21, allocations: 32.31 kB / 1.127 GB, free: 29.03 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.283e-05/1.21, allocations: 3.75 kB / 1.127 GB, free: 29.03 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001547/1.211, allocations: 331.9 kB / 1.128 GB, free: 28.71 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.921e-05/1.211, allocations: 28.92 kB / 1.128 GB, free: 28.71 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003494/1.211, allocations: 123.3 kB / 1.128 GB, free: 28.64 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001116/1.211, allocations: 39.38 kB / 1.128 GB, free: 28.64 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/1.211, allocations: 3.938 kB / 1.128 GB, free: 28.64 MB / 0.698 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000361/1.212, allocations: 153.2 kB / 1.128 GB, free: 28.59 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/1.212, allocations: 7.922 kB / 1.128 GB, free: 28.58 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/1.212, allocations: 7.859 kB / 1.128 GB, free: 28.58 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-05/1.212, allocations: 4.219 kB / 1.128 GB, free: 28.57 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001264/1.212, allocations: 18.11 kB / 1.128 GB, free: 28.57 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/1.212, allocations: 7.781 kB / 1.128 GB, free: 28.57 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003691/1.212, allocations: 36.72 kB / 1.128 GB, free: 28.55 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.744e-05/1.212, allocations: 7.844 kB / 1.128 GB, free: 28.55 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition3,$whenCondition5,$whenCondition4,$whenCondition2,$whenCondition1,plotConfiguration.active,$PRE.plotConfiguration.tActivateLast,plotConfiguration.tActivateLast,sca.active,$PRE.sca.tActivateLast,sca.tActivateLast,sca.sampleTrigger,scaDel.active,$PRE.scaDel.tActivateLast,scaDel.tActivateLast,scaDel.sampleTrigger,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * 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.0002116/1.212, allocations: 140.1 kB / 1.128 GB, free: 28.44 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.974e-05/1.213, allocations: 15.66 kB / 1.128 GB, free: 28.43 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.557e-05/1.213, allocations: 23.59 kB / 1.128 GB, free: 28.42 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/1.213, allocations: 0 / 1.128 GB, free: 28.42 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.114e-05/1.213, allocations: 0 / 1.128 GB, free: 28.42 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.535e-06/1.213, allocations: 3.875 kB / 1.128 GB, free: 28.42 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001709/1.214, allocations: 0.4922 MB / 1.129 GB, free: 28.11 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.667e-06/1.214, allocations: 0 / 1.129 GB, free: 28.11 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.638e-05/1.215, allocations: 6.516 kB / 1.129 GB, free: 28.11 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.648e-06/1.215, allocations: 4 kB / 1.129 GB, free: 28.11 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.815e-05/1.215, allocations: 3.75 kB / 1.129 GB, free: 28.11 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.218e-06/1.215, allocations: 3.875 kB / 1.129 GB, free: 28.11 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/1.215, allocations: 3.938 kB / 1.129 GB, free: 28.1 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005623/1.215, allocations: 230.3 kB / 1.129 GB, free: 27.96 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001331/1.215, allocations: 92.78 kB / 1.129 GB, free: 27.85 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.537e-05/1.215, allocations: 10 kB / 1.129 GB, free: 27.85 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003883/1.216, allocations: 22.19 kB / 1.129 GB, free: 27.85 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001539/1.216, allocations: 16.17 kB / 1.129 GB, free: 27.85 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.34e-05/1.216, allocations: 9.594 kB / 1.129 GB, free: 27.85 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000309/1.216, allocations: 139.1 kB / 1.129 GB, free: 27.77 MB / 0.698 GB Notification: Performance of sort global known variables: time 6.71e-07/1.217, allocations: 3.812 kB / 1.129 GB, free: 27.77 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001215/1.218, allocations: 48.89 kB / 1.129 GB, free: 27.77 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 (scaDel.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,booPul.y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001702/1.219, allocations: 0.8525 MB / 1.13 GB, free: 27.05 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006863/1.22, allocations: 105.5 kB / 1.13 GB, free: 27.04 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 9.118e-06/1.22, allocations: 0 / 1.13 GB, free: 27.04 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002533/1.221, allocations: 55.42 kB / 1.13 GB, free: 27.04 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009946/1.222, allocations: 46.31 kB / 1.13 GB, free: 27.04 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002412/1.224, allocations: 1.174 MB / 1.132 GB, free: 25.98 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000655/1.225, allocations: 0.7275 MB / 1.132 GB, free: 25.29 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002797/1.225, allocations: 17.72 kB / 1.132 GB, free: 25.29 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002117/1.225, allocations: 56.34 kB / 1.132 GB, free: 25.27 MB / 0.698 GB Notification: Performance of SimCode: time 1.964e-06/1.225, allocations: 0 / 1.132 GB, free: 25.27 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03274/1.258, allocations: 4.956 MB / 1.137 GB, free: 23.26 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003955/1.259, allocations: 243.8 kB / 1.137 GB, free: 22.93 MB / 0.698 GB Error: Error building simulator. Build log: clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/C-Sources" -c -o Buildings_8_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.o Buildings_8_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.c In file included from Buildings_8_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.c:7: In file included from ./Buildings_8_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/C-Sources" -c -o Buildings_8_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff_functions.o Buildings_8_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff_functions.c In file included from Buildings_8_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff_functions.c:2: In file included from ./Buildings_8_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ In file included from Buildings_8_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff_functions.c:7: In file included from ./Buildings_8_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/C-Sources/plotFree.c:8:10: fatal error: 'ModelicaUtilities.h' file not found #include ^~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. : recipe for target 'Buildings_8_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff_functions.o' failed make: *** [Buildings_8_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff_functions.o] Error 1