Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.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.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.207/2.207, allocations: 251 MB / 265.9 MB, free: 11.7 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001585/0.001585, allocations: 188.6 kB / 325.5 MB, free: 2.91 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.369/2.369, allocations: 205.4 MB / 0.5764 GB, free: 21.2 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.001209/0.001209, allocations: 106.8 kB / 0.6809 GB, free: 14.08 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004949/0.0004948, allocations: 11.16 kB / 0.795 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2149/0.2154, allocations: 106.3 MB / 0.8988 GB, free: 65.96 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2309/0.4464, allocations: 135.5 MB / 1.031 GB, free: 10.24 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003389/0.4468, allocations: 83.95 kB / 1.031 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.05976/0.5066, allocations: 13.3 MB / 1.044 GB, free: 12.8 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.595e-06/0.5067, allocations: 0 / 1.044 GB, free: 12.8 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.675e-05/0.5067, allocations: 15.94 kB / 1.044 GB, free: 12.79 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001189/0.5079, allocations: 0.5531 MB / 1.045 GB, free: 12.17 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.04e-05/0.508, allocations: 8.031 kB / 1.045 GB, free: 12.16 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.211e-05/0.508, allocations: 42.55 kB / 1.045 GB, free: 12.11 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001026/0.5082, allocations: 23.75 kB / 1.045 GB, free: 12.09 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007597/0.5089, allocations: 262.6 kB / 1.045 GB, free: 11.79 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.587e-05/0.509, allocations: 8 kB / 1.045 GB, free: 11.79 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.669e-05/0.5091, allocations: 19.89 kB / 1.045 GB, free: 11.77 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003105/0.5094, allocations: 109.1 kB / 1.045 GB, free: 11.65 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.5094, allocations: 0 / 1.045 GB, free: 11.65 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.418e-05/0.5094, allocations: 8 kB / 1.045 GB, free: 11.64 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.5095, allocations: 0 / 1.045 GB, free: 11.64 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001783/0.5096, allocations: 51.97 kB / 1.045 GB, free: 11.59 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00166/0.5113, allocations: 0.5551 MB / 1.046 GB, free: 10.98 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003307/0.5117, allocations: 97.06 kB / 1.046 GB, free: 10.87 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.498e-05/0.5118, allocations: 0 / 1.046 GB, free: 10.87 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003571/0.5121, allocations: 131.3 kB / 1.046 GB, free: 10.72 MB / 0.698 GB Notification: Performance of pre-optimization done (n=15): time 3.416e-06/0.5121, allocations: 0 / 1.046 GB, free: 10.72 MB / 0.698 GB Notification: Performance of matching and sorting (n=15): time 0.0006793/0.5128, allocations: 155.6 kB / 1.046 GB, free: 10.57 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.415e-05/0.513, allocations: 81.11 kB / 1.046 GB, free: 10.47 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002879/0.5133, allocations: 185.4 kB / 1.046 GB, free: 10.28 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.809e-05/0.5133, allocations: 33.7 kB / 1.046 GB, free: 10.24 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001319/0.5135, allocations: 128.5 kB / 1.047 GB, free: 10.11 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.354e-05/0.5136, allocations: 31.61 kB / 1.047 GB, free: 10.07 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.714e-05/0.5136, allocations: 8 kB / 1.047 GB, free: 10.07 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001489/0.5137, allocations: 322.8 kB / 1.047 GB, free: 9.742 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001133/0.5139, allocations: 32.36 kB / 1.047 GB, free: 9.711 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004966/0.5144, allocations: 139 kB / 1.047 GB, free: 9.543 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002221/0.5146, allocations: 35.94 kB / 1.047 GB, free: 9.508 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.726e-06/0.5147, allocations: 0 / 1.047 GB, free: 9.508 MB / 0.698 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006819/0.5154, allocations: 165.3 kB / 1.047 GB, free: 9.34 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.158e-05/0.5154, allocations: 4 kB / 1.047 GB, free: 9.336 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.5154, allocations: 4.094 kB / 1.047 GB, free: 9.332 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.029e-05/0.5155, allocations: 11.94 kB / 1.047 GB, free: 9.32 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002286/0.5157, allocations: 19.92 kB / 1.047 GB, free: 9.301 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.144e-05/0.5158, allocations: 0 / 1.047 GB, free: 9.301 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006173/0.5164, allocations: 32.05 kB / 1.047 GB, free: 9.27 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.471e-05/0.5165, allocations: 8 kB / 1.047 GB, free: 9.262 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 19 (plotConfiguration.active,$PRE.plotConfiguration.tActivateLast,plotConfiguration.tActivateLast,$whenCondition2,$whenCondition4,$whenCondition3,$whenCondition1,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,plotConfiguration.activate_internal) * 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.0002976/0.5168, allocations: 143.5 kB / 1.048 GB, free: 9.113 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.666e-05/0.5169, allocations: 15.81 kB / 1.048 GB, free: 9.098 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.556e-05/0.517, allocations: 17.53 kB / 1.048 GB, free: 9.078 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.285e-06/0.517, allocations: 7.953 kB / 1.048 GB, free: 9.07 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.425e-06/0.517, allocations: 0 / 1.048 GB, free: 9.07 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.393e-05/0.517, allocations: 3.984 kB / 1.048 GB, free: 9.066 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0014/0.5184, allocations: 472.8 kB / 1.048 GB, free: 8.551 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/0.5185, allocations: 3.938 kB / 1.048 GB, free: 8.547 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.245e-05/0.5186, allocations: 7.953 kB / 1.048 GB, free: 8.539 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.085e-05/0.5186, allocations: 3.984 kB / 1.048 GB, free: 8.535 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.077e-05/0.5187, allocations: 0 / 1.048 GB, free: 8.535 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.355e-05/0.5187, allocations: 4 kB / 1.048 GB, free: 8.531 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.5187, allocations: 7.938 kB / 1.048 GB, free: 8.523 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005573/0.5193, allocations: 245.8 kB / 1.048 GB, free: 8.258 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001155/0.5194, allocations: 88.92 kB / 1.048 GB, free: 8.152 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.117e-05/0.5195, allocations: 4 kB / 1.048 GB, free: 8.148 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003545/0.5199, allocations: 23.98 kB / 1.048 GB, free: 8.125 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001298/0.52, allocations: 23.95 kB / 1.048 GB, free: 8.102 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.732e-05/0.5201, allocations: 8 kB / 1.048 GB, free: 8.094 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002951/0.5204, allocations: 135.2 kB / 1.049 GB, free: 7.961 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.81e-07/0.5204, allocations: 0 / 1.049 GB, free: 7.961 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0008193/0.5213, allocations: 47.91 kB / 1.049 GB, free: 7.914 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 (sca.sampleTrigger,scaDel.sampleTrigger,booPul.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulseStart,plotConfiguration.active,plotConfiguration.tActivateLast) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * 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.001531/0.5228, allocations: 0.9168 MB / 1.049 GB, free: 6.984 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005788/0.5234, allocations: 103.8 kB / 1.05 GB, free: 6.883 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/0.5235, allocations: 0 / 1.05 GB, free: 6.883 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002467/0.5237, allocations: 51.92 kB / 1.05 GB, free: 6.832 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008136/0.5246, allocations: 54.53 kB / 1.05 GB, free: 6.781 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00239/0.527, allocations: 1.48 MB / 1.051 GB, free: 5.215 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005401/0.5276, allocations: 0.7339 MB / 1.052 GB, free: 4.457 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002517/0.5279, allocations: 21.53 kB / 1.052 GB, free: 4.438 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001946/0.5281, allocations: 59.34 kB / 1.052 GB, free: 4.379 MB / 0.698 GB Notification: Performance of SimCode: time 1.382e-06/0.5281, allocations: 0 / 1.052 GB, free: 4.379 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6394/1.168, allocations: 4.914 MB / 1.057 GB, free: 151.8 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002512/1.168, allocations: 256.9 kB / 1.057 GB, free: 151.5 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 7.0.1/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.o Buildings_7_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.c In file included from Buildings_7_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.c:7: In file included from ./Buildings_7_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff_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 7.0.1/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff_functions.o Buildings_7_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff_functions.c In file included from Buildings_7_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff_functions.c:2: In file included from ./Buildings_7_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff_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_7_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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_7_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff_functions.o' failed make: *** [Buildings_7_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff_functions.o] Error 1